Update OAuth2.md
This commit is contained in:
parent
505d7a9d94
commit
d2cd1ba068
@ -37,9 +37,9 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
|
|||||||
|
|
||||||
# 1. [Frontend] Request Authorization code
|
# 1. [Frontend] Request Authorization code
|
||||||
|
|
||||||
1. The use clicks a "Login with Google" link button with a URL to Google's OAuth 2.0 authorization endpoint and redirects the user there.
|
1. A link button "Login with Google" redirects the user to the Google's OAuth 2.0 authorization endpoint.
|
||||||
2. After this redirection, the user will log in to Google and grant permissions (if they haven’t already).
|
2. After the redirection, the user will log in to Google and grant permissions (if they haven’t already).
|
||||||
3. Google will redirect the user back to your specified redirect_uri with an authorization code.
|
3. Google will redirect the user back to your redirect_uri `https://xorismesiti.gr/callback` with an authorization code `?code=`
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><h3>Frontend HTTP GET Request to Google</h3></summary>
|
<summary><h3>Frontend HTTP GET Request to Google</h3></summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user