Update OAuth2.md

This commit is contained in:
Ste Vaidis 2024-12-15 10:45:21 +02:00
parent e86e46c96e
commit 7051ad3a04

View File

@ -27,7 +27,7 @@ GET https://accounts.google.com/o/oauth2/v2/auth?
``` ```
- `response_type=code`: This indicates you're using the "authorization code" flow. - `response_type=code`: This indicates you're using the "authorization code" flow.
- `client_id`: Your Google API client ID. - `client_id`: Your Google API client ID. Created by the developers of the `xorismesiti.gr` on the google API console.
- `redirect_uri`: The URI Google will redirect to after the user consents. - `redirect_uri`: The URI Google will redirect to after the user consents.
- `scope`: The permissions you're requesting (e.g., email, profile). - `scope`: The permissions you're requesting (e.g., email, profile).
- `state`: A random string to protect against CSRF attacks. - `state`: A random string to protect against CSRF attacks.