Update OAuth2-Front-Approach.md
This commit is contained in:
parent
a43277fe2e
commit
b48f9d7dbb
@ -2,7 +2,7 @@
|
||||
|
||||
A way for the `user` to tell `google` to give an access token to `xorismesiti.gr` app
|
||||
|
||||
<br><br><br>
|
||||
<br><br>
|
||||
|
||||
### OAuth2 Frontend/Backend Flow:
|
||||
|
||||
@ -12,7 +12,7 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
|
||||
| 2 | Exchange Code with Token | Frontend ⇢ Backend ⇢ Google ⇢ Backend ⇢ Frontend |
|
||||
| 4 | Use Token | Frontend ⇢ Google ⇢ Frontend |
|
||||
|
||||
<br><br><br>
|
||||
<br><br>
|
||||
|
||||
### OAuth2 Frontend/Backend Flow:
|
||||
|
||||
@ -25,7 +25,7 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
|
||||
7. Frontend **Store** `access_token` and `refresh token` to secure cookie
|
||||
8. Frontend **Use** `access_token` to get user data from Google
|
||||
|
||||
<br><br><br>
|
||||
<br><br>
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user