diff --git a/OAuth2.md b/OAuth2.md index c0ef593..3cfc585 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -30,7 +30,7 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr # 1. [Frontend] Request Authorization code -### Redirect the user to Google's OAuth Authorization Endpoint +Redirect the user to Google's OAuth Authorization Endpoint 1. The use clicks a "Login with Google" 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). @@ -79,7 +79,7 @@ const loginWithGoogle = () => { # 2. [Frontend] Receive Authorization Code -### And send it to the Backend +And send it to the Backend 1. Once the user grants permission, 2. Google will redirect the user to the `redirect_uri` you specified in the previous step (`https://xorismesiti.gr/api/auth/callback`)