Update OAuth2.md

This commit is contained in:
Ste Vaidis 2024-12-15 10:32:54 +02:00
parent 291c9dbcec
commit 50d8763851

View File

@ -1,8 +1,8 @@
OAuth2 purpose ### OAuth2 purpose
A way for the `user` to tell `google` to give an access token to `xorismesiti.gr` app A way for the `user` to tell `google` to give an access token to `xorismesiti.gr` app
OAuth2 Flow: ### OAuth2 Flow:
1. **User clicks** "Login with Google" on your platform `xorismesiti.gr` 1. **User clicks** "Login with Google" on your platform `xorismesiti.gr`
2. **Authorization Request**: Redirect to Google's authorization endpoint `accounts.google.com/o/oauth2`, requesting the user's data 2. **Authorization Request**: Redirect to Google's authorization endpoint `accounts.google.com/o/oauth2`, requesting the user's data