From 68601963f281983acd40ff7b84d7e04775fb31ff Mon Sep 17 00:00:00 2001 From: Ste Vaidis Date: Sun, 15 Dec 2024 12:59:28 +0200 Subject: [PATCH] Update OAuth2.md --- OAuth2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OAuth2.md b/OAuth2.md index 030e0de..ddd0b9a 100644 --- a/OAuth2.md +++ b/OAuth2.md @@ -47,7 +47,7 @@ A way for the `user` to tell `google` to give an access token to `xorismesiti.gr ```sh GET https://accounts.google.com/o/oauth2/v2/auth? response_type=code& - client_id=YOUR_GOOGLE_CLIENT_ID& + client_id=Ab2i34JHS9D& redirect_uri=https://xorismesiti.gr/callback& scope=email%20profile& state=xyz123 @@ -67,7 +67,7 @@ GET https://accounts.google.com/o/oauth2/v2/auth? ```bash HTTP/1.1 302 Found -Location: https://xorismesiti.gr/api/auth/callback?code=4/0AX4XfWgNmGZVbV7Kdr8Q9yVyzIYBnbbBdLfX39ZaE8m0w8zT8jKRLl7w-uT8k7WiyLg0Q&state=random-state-value +Location: https://xorismesiti.gr/api/auth/callback?code=4/0AX4XfWgyVyz-uT8k7WiyLg0Q&state=random-state-value Content-Type: text/html; charset=UTF-8 Content-Length: 0 ```