Update OAuth2-Front-Approach.md
This commit is contained in:
parent
0f2efd7975
commit
0fcadac8a0
@ -18,9 +18,9 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
|
||||
|
||||
1. Get Code
|
||||
|
||||
1. Frontend **Redirect** the user to Google's OAuth authorization endpoint `accounts.google.com/o/oauth2`
|
||||
1. Frontend **Redirect** the user to Google's OAuth authorization endpoint `https://accounts.google.com/o/oauth2`
|
||||
2. User **Login in** to Google and grant permissions
|
||||
3. Google **Redirect** the user back to `xorismesiti.gr/callback` including the authorization `code`
|
||||
3. Google **Redirect** the user back to callback url including the authorization code and a random_state_value `https://xorismesiti.gr/callback?code=ABCD&state=XYZ`
|
||||
|
||||
2. Exchange Code with Token
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user