Signed-off-by: Cyril DUCHENOY <c.duchenoy@geco-it.fr>
infisical/v0.41.1-geco
c.duchenoy 5 months ago
parent 9182ecee40
commit feabe3bb82
Signed by: c.duchenoy
GPG Key ID: 8308C6587A2648C4

@ -160,9 +160,9 @@ const initializePassport = async () => {
passport.use(new GitHubStrategy({
authorizationURL: 'https://git.cereg.com/login/oauth/authorize',
tokenURL: 'https://git.cereg.com/login/oauth/access_token',
clientID: clientIdGitLabLogin,
clientSecret: clientSecretGitLabLogin,
callbackURL: "/api/v1/sso/gitlab",
clientID: clientIdGitHubLogin,
clientSecret: clientSecretGitHubLogin,
callbackURL: "/api/v1/sso/github",
scope: ["user:email"]
},
async (req : express.Request, accessToken : any, refreshToken : any, profile : any, done : any) => {

Loading…
Cancel
Save