diff --git a/OAuth2.md b/OAuth2.md index 805777e..b8edfe3 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -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. 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. -2. After this 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. +1. A link button "Login with Google" redirects the user to the Google's OAuth 2.0 authorization endpoint. +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 redirect_uri `https://xorismesiti.gr/callback` with an authorization code `?code=`

Frontend HTTP GET Request to Google