mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 02:27:37 +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
|
// Passport strategy for Github
|
||||||
const isGithubOauthActive = Boolean(
|
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) {
|
if (isGithubOauthActive) {
|
||||||
passport.use(
|
passport.use(
|
||||||
|
|||||||
Reference in New Issue
Block a user