mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fixed GitHub auth registration issue
This commit is contained in:
committed by
Akhil Mohan
parent
c880a48749
commit
606ed25104
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user