Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat(Attribute Mapping): Allow the use of opt in GUID/nameid as attribute. #36

Merged
merged 1 commit into from
May 10, 2022
Merged

Feat(Attribute Mapping): Allow the use of opt in GUID/nameid as attribute. #36

merged 1 commit into from
May 10, 2022

Conversation

LiamKearn
Copy link
Contributor

This would be great for our use case, We are happy to work out a hack using the extension point if that is deemed more ideal.

Weird use case but I've seen it used before eg. MOODLE's main SAML authentication plugin explains it well.

Ideally this sort of thing gets dealt with on the IdP side but they don't always want to work with you 😄

@LiamKearn
Copy link
Contributor Author

Just as an example this new setting in combination with the following:

SilverStripe\SAML\Extensions\SAMLMemberExtension:
  claims_field_mappings:
    'GUID' => 'Email'

would map GUID/nameid to email.

@LiamKearn
Copy link
Contributor Author

LiamKearn commented May 9, 2022

CI Failing due to some composer stuff n things. I had a look over @ silverstripe/silverstripe-cms and they were talking about some change to shared config. Don't think I need to do anything here.

EDIT: Looks like CI has been failing for a while due the composer stuff and has nothing to do with the travis changes mentioned above.

Copy link
Member

@madmatt madmatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@madmatt madmatt merged commit ebba936 into silverstripe:master May 10, 2022
@madmatt
Copy link
Member

madmatt commented May 10, 2022

Merging despite Travis errors as they are unrelated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants