Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

scope fix for google strategy

x03d7f9f7862c
diff --git a/backend/src/server/routes/v1/sso-router.ts b/backend/src/server/routes/v1/sso-router.ts
index d8e1ae5435..f7a1b973a5 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
},