From 995c1c054d081c099d0c6e0826f0f5e34e32a77f Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Mon, 13 Jan 2025 08:53:55 +0200 Subject: [PATCH] Update OAuth2.md --- OAuth2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OAuth2.md b/OAuth2.md index 3082f37..a20dd13 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -19,12 +19,12 @@ A way for the `user` to tell `google` to give an access to `myapp` app #### ⭐️ 1. Get Authorization Code -1. Frontend **Navigate** to Google URL with a callback url -2. Google **Redirect** to Backend's callback url with the authorization code +1. Frontend **Navigate** to Google URL with a `callback url` +2. Google **Redirect** to Backend's `callback url` with the `authorization code` #### ⭐️ 2. Exchange Code with Token -1. Backend **POST** the `code` to Google +1. Backend **POST** the `authorization code` to Google 2. Google **Response** to Backend with an `access_token` and a `refresh token` 3. Backend **Redirect** to Frontend with the `access_token` in a `cookie`