Update OAuth2-Backend-Approach.md
This commit is contained in:
parent
0c73a3da15
commit
551b96e952
@ -30,8 +30,8 @@ A way for the `user` to tell `google` to give an access to `xorismesiti.gr` app
|
||||
|
||||
3. Use Token
|
||||
|
||||
1. Front **GET** profile data from Back using the `cookie`
|
||||
2. Back **GET** profile data from Google using the `access_token` from Front `cookie`
|
||||
1. Front **GET** profile data from Back `https://xorismesiti.gr/api/auth/profile` using the `cookie`
|
||||
2. Back **GET** profile data from Google `https://www.googleapis.com/oauth2/v3/userinfo` using the `access_token` from Front `cookie`
|
||||
3. Google **response** to Back with profile data
|
||||
4. Back **response** to Front with profile data
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user