Update OAuth2.md
This commit is contained in:
parent
d9382f07e1
commit
c3c628221b
@ -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
|
||||
|
||||
<details>
|
||||
<summary><h3>Frontend HTTP GET Request to Backend</h3></summary>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user