mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Integrated login with Gitlab
This commit is contained in:
@@ -205,6 +205,7 @@ const initializePassport = async () => {
|
|||||||
callbackURL: "/api/v1/sso/gitlab"
|
callbackURL: "/api/v1/sso/gitlab"
|
||||||
},
|
},
|
||||||
async (req : express.Request, accessToken : any, refreshToken : any, profile : any, done : any) => {
|
async (req : express.Request, accessToken : any, refreshToken : any, profile : any, done : any) => {
|
||||||
|
|
||||||
const email = profile.emails[0].value;
|
const email = profile.emails[0].value;
|
||||||
|
|
||||||
let user = await User.findOne({
|
let user = await User.findOne({
|
||||||
|
|||||||
Reference in New Issue
Block a user