Update OAuth2.md

This commit is contained in:
Ste Vaidis 2024-12-15 09:46:56 +02:00
parent 1e5de60d1e
commit f60ea0880b

View File

@ -34,11 +34,11 @@ GET https://accounts.google.com/o/oauth2/v2/auth?
Google redirects the user back to your platform's redirect_uri `https://xorismesiti.gr/callback` with an authorization_code in the query parameters.
`URL`: https://xorismesiti.gr/callback
`HTTP` Method: GET
`Parameters`:
`code`: The authorization code sent by Google.
`state`: The same state value sent in the original request (for CSRF protection).
- `URL`: https://xorismesiti.gr/callback
- `HTTP` Method: GET
- `Parameters`:
- `code`: The authorization code sent by Google.
- `state`: The same state value sent in the original request (for CSRF protection).
```sh
GET https://xorismesiti.gr/callback?