Skip to content

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

Fixed GitHub auth registration issue

Daniel Hougaard606ed251048a
diff --git a/backend-pg/src/server/routes/v1/sso-router.ts b/backend-pg/src/server/routes/v1/sso-router.ts
index 9126c28536..7d5436a6f8 100644
--- a/backend-pg/src/server/routes/v1/sso-router.ts
+++ b/backend-pg/src/server/routes/v1/sso-router.ts
@@ -59,7 +59,7 @@ export const registerSsoRouter = async (server: FastifyZodProvider) => {
// Passport strategy for Github
const isGithubOauthActive = Boolean(
- appCfg.CLIENT_SECRET_GITHUB_LOGIN && appCfg.CLIENT_ID_GITLAB_LOGIN
+ appCfg.CLIENT_SECRET_GITHUB_LOGIN && appCfg.CLIENT_ID_GITHUB_LOGIN
);
if (isGithubOauthActive) {
passport.use(