Update OAuth2.md

This commit is contained in:
Ste Vaidis 2024-12-15 12:05:34 +02:00
parent fd93c1d114
commit ba4d311b0b

View File

@ -14,7 +14,7 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr
### Summary of Tasks Split Across Frontend and Backend: ### Summary of Tasks Split Across Frontend and Backend:
***Frontend** **Frontend**
1. **Redirect** the user to Google's OAuth authorization endpoint. 1. **Redirect** the user to Google's OAuth authorization endpoint.
2. **Get** the authorization `code` after Google redirects back to the frontend. 2. **Get** the authorization `code` after Google redirects back to the frontend.
3. **Send** the authorization `code` to the backend for `token` exchange. 3. **Send** the authorization `code` to the backend for `token` exchange.