Update OAuth2-Backend-Approach.md
This commit is contained in:
parent
fe9dbe760b
commit
13bc25748b
@ -72,9 +72,9 @@ Content-Length: 0
|
|||||||
|
|
||||||
# 2. Exchange Code with Token
|
# 2. Exchange Code with Token
|
||||||
|
|
||||||
1. Back **POST** the `code` to Google `https://oauth2.googleapis.com/token`
|
1. Backend **POST** the `code` to Google `https://oauth2.googleapis.com/token`
|
||||||
2. Google **response** to Back with an `access_token` and a `refresh token`
|
2. Google **response** to Backend with an `access_token` and a `refresh token`
|
||||||
3. Back **response** to Front with the `access_token` in a `cookie`
|
3. Backend **response** to Frontend with the `access_token` in a `cookie`
|
||||||
|
|
||||||
### 1. Back **POST** the `code` to Google
|
### 1. Back **POST** the `code` to Google
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user