mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
patch saml sso for rippling
This commit is contained in:
@@ -76,10 +76,10 @@ export const initializeSamlStrategy = async () => {
|
||||
|
||||
if (!organization) return done(OrganizationNotFoundError());
|
||||
|
||||
const email = profile.email;
|
||||
const email = profile?.email ?? profile?.emailAddress // emailRippling is added because in Rippling the field `email` reserved
|
||||
const firstName = profile.firstName;
|
||||
const lastName = profile.lastName;
|
||||
|
||||
|
||||
let user = await User.findOne({
|
||||
email
|
||||
}).select("+publicKey");
|
||||
|
||||
Reference in New Issue
Block a user