diff --git a/OAuth2.md b/OAuth2.md index 7141c11..0c1a3c5 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -289,7 +289,11 @@ app.listen(3000, () => { # 4. [Frontend] Use the Token -The frontend receives the tokens from the Backend response, so to make authenticated requests to the backend or Google APIs +1. The frontend receives the tokens from the Backend response, +2. Store them in the localStorage of the browser +3. Make authenticated requests + a. Directly to Google APIs + b. To backend

Frontend HTTP GET Request to Backend