From ce9fea3684cfac2355e66d312fa3d705daf224bb Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Sun, 15 Dec 2024 09:48:06 +0200 Subject: [PATCH] Update OAuth2.md --- OAuth2.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/OAuth2.md b/OAuth2.md index c88a858..d1868a7 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -34,14 +34,15 @@ 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). - ```sh GET https://xorismesiti.gr/callback? code=4/0AX4XfWgNmGZVbV7Kdr8Q9yVyzIYBnbbBdLfX39ZaE8m0w8zT8jKRLl7w-uT8k7WiyLg0Q& state=xyz123 -``` \ No newline at end of file +``` + +- `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). +