Skip to content

Commit

Permalink
feat: add support for Zitadel IdP
Browse files Browse the repository at this point in the history
Make Omni map the identity and username from the SAML response from the
Zitadel without any customizations required.

Signed-off-by: Joakim Nohlgård <[email protected]>
  • Loading branch information
jnohlgard authored and Unix4ever committed Dec 17, 2024
1 parent e8aee8e commit b7c3c50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/backend/saml/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,9 @@ func LocateUserInfo(assertion *saml.Assertion) (UserInfo, error) {
"email": &user.Identity,
"givenName": &givenName,
"surname": &surname,
// Zitadel SAML
"UserName": &user.Identity,
"FullName": &user.Fullname,
}

// Google SAML keeps that info in Subject.
Expand Down

0 comments on commit b7c3c50

Please sign in to comment.