Update OAuth2.md
This commit is contained in:
parent
1e5de60d1e
commit
f60ea0880b
10
OAuth2.md
10
OAuth2.md
@ -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.
|
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
|
- `URL`: https://xorismesiti.gr/callback
|
||||||
`HTTP` Method: GET
|
- `HTTP` Method: GET
|
||||||
`Parameters`:
|
- `Parameters`:
|
||||||
`code`: The authorization code sent by Google.
|
- `code`: The authorization code sent by Google.
|
||||||
`state`: The same state value sent in the original request (for CSRF protection).
|
- `state`: The same state value sent in the original request (for CSRF protection).
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
GET https://xorismesiti.gr/callback?
|
GET https://xorismesiti.gr/callback?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user