Update OAuth2.md

This commit is contained in:
Ste Vaidis 2024-12-15 13:07:06 +02:00
parent cde66cc2f7
commit f800311ed9

View File

@ -4,8 +4,6 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
<br><br><br>
### OAuth2 Standar Flow:
1. **User** clicks button "Login with Google" on your platform `xorismesiti.gr`
@ -16,6 +14,8 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
6. **Access Protected Resources**: App uses the `access_token` to fetch the user's Google profile and email from `googleapis.com/oauth2`
7. **Token Refresh** (Optional): If the `access_token` expires, app uses the `refresh token` to get a new `access_token`.
<br><br><br>
### OAuth2 Frontend/`Backend Flow:
**Frontend**