From 0fcadac8a0794afc10d6928d72d6fe74ae2be98c Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Tue, 7 Jan 2025 11:49:17 +0200 Subject: [PATCH] Update OAuth2-Front-Approach.md --- OAuth2-Front-Approach.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OAuth2-Front-Approach.md b/OAuth2-Front-Approach.md index 46c0a00..d93d895 100644 --- a/OAuth2-Front-Approach.md +++ b/OAuth2-Front-Approach.md @@ -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