Skip to content

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

Integrated login with Gitlab

Andrew Atimaprebc489e65ca8c
diff --git a/backend/src/utils/auth.ts b/backend/src/utils/auth.ts
index 44cb686529..664a27707d 100644
--- a/backend/src/utils/auth.ts
+++ b/backend/src/utils/auth.ts
@@ -205,6 +205,7 @@ const initializePassport = async () => {
callbackURL: "/api/v1/sso/gitlab"
},
async (req : express.Request, accessToken : any, refreshToken : any, profile : any, done : any) => {
+
const email = profile.emails[0].value;
let user = await User.findOne({