From 03d7f9f7862cdad674810fe4434eb3d3c6b8d5e6 Mon Sep 17 00:00:00 2001 From: x Date: Mon, 28 Apr 2025 12:17:04 -0400 Subject: [PATCH] scope fix for google strategy --- backend/src/server/routes/v1/sso-router.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/server/routes/v1/sso-router.ts b/backend/src/server/routes/v1/sso-router.ts index d8e1ae543..f7a1b973a 100644 --- a/backend/src/server/routes/v1/sso-router.ts +++ b/backend/src/server/routes/v1/sso-router.ts @@ -55,7 +55,7 @@ export const registerSsoRouter = async (server: FastifyZodProvider) => { clientID: appCfg.CLIENT_ID_GOOGLE_LOGIN as string, clientSecret: appCfg.CLIENT_SECRET_GOOGLE_LOGIN as string, callbackURL: `${appCfg.SITE_URL}/api/v1/sso/google`, - scope: ["profile", " email"], + scope: ["profile", "email"], state: true, pkce: true },