diff --git a/OAuth2-Front-Approach.md b/OAuth2-Front-Approach.md index 7a10ada..ba0a891 100644 --- a/OAuth2-Front-Approach.md +++ b/OAuth2-Front-Approach.md @@ -327,14 +327,14 @@ res.cookie('access_token', accessToken, {
-1. The frontend receives the tokens from the Backend response, -2. Store them in the localStorage of the browser +1. The frontend receives the tokens from the Backend response +2. Store them in a secure cookie 3. Make authenticated requests directly to Google API
-

HTTP GET Request from Frontend to Backend

+

HTTP GET Request from Frontend to Google

```bash GET https://www.googleapis.com/oauth2/v3/userinfo @@ -344,7 +344,7 @@ Authorization: Bearer ACCESSTOKEN6zXZkHi2XITkDoOVACCESSTOKEN
-

HTTP GET Response from Backend to Frontend

+

HTTP GET Response from Google to Frontend

```json {