From ea12d90f74ff6f1abeb3a57461b47916ee2fefd4 Mon Sep 17 00:00:00 2001 From: Danish Ahmed Mirza Date: Mon, 24 Jan 2022 16:25:34 +0530 Subject: [PATCH] [FIX] Login and register via Google OAuth --- app/containers/LoginServices.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/containers/LoginServices.tsx b/app/containers/LoginServices.tsx index aab5c889e..2c8cf4c46 100644 --- a/app/containers/LoginServices.tsx +++ b/app/containers/LoginServices.tsx @@ -144,7 +144,7 @@ class LoginServices extends React.PureComponent { const { services, server } = this.props; const { clientId } = services.google; const endpoint = 'https://accounts.google.com/o/oauth2/auth'; - const redirect_uri = `${server}/_oauth/google?close`; + const redirect_uri = `${server}/_oauth/google`; const scope = 'email'; const state = this.getOAuthState(LOGIN_STYPE_REDIRECT); const params = `?client_id=${clientId}&redirect_uri=${redirect_uri}&scope=${scope}&state=${state}&response_type=code`;