Update OAuth2-Front-Approach.md

This commit is contained in:
Ste Vaidis 2024-12-16 11:12:13 +02:00
parent 4bdac0ca5e
commit e891f56ea5

View File

@ -7,7 +7,7 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
### OAuth2 Frontend/Backend Flow:
| When | Why | How |
|-------|--------------------------|--------------------------------------------------|
|-------|--------------------------|:------------------------------------------------:|
| 1 | Get Code | Frontend ⇢ Google ⇢ Frontend |
| 2 | Exchange Code with Token | Frontend ⇢ Backend ⇢ Google ⇢ Backend ⇢ Frontend |
| 4 | Use Token | Frontend ⇢ Google ⇢ Frontend |