From a8a897fdc9aa612b09905b63866fbfe6bfae1d36 Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Sun, 15 Dec 2024 12:09:56 +0200 Subject: [PATCH] Update OAuth2.md --- OAuth2.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/OAuth2.md b/OAuth2.md index 023ee66..830c8f3 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -32,10 +32,9 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr ### Redirect the user to Google's OAuth Authorization Endpoint -1. Action: The frontend provides a "Login with Google" button. -2. When the user clicks it, the frontend constructs a URL to Google's OAuth 2.0 authorization endpoint and redirects the user there. -3. After this redirection, the user will log in to Google and grant permissions (if they haven’t already). -4. Google will redirect the user back to your specified redirect_uri with an authorization code. +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). +3. Google will redirect the user back to your specified redirect_uri with an authorization code. ```sh GET https://accounts.google.com/o/oauth2/v2/auth?