forked from keitaroinc/ckanext-saml2auth
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support fullname field in SAMLResponse
As discussed in keitaroinc#11 in some cases it is useful to use the "full name" claim rather than the concatenation of "first" + "last" name. Setting aside that not all parts of the world use the first + last name format for people's names, in some cases some customization is applied in the IdP side to the user display name, eg to show the department the user belongs to (eg "John Garcia (Operations)"). This change keeps all existing functionality relying on first + last names but adds support for a new config option to provide the full name instead. Startup checks and default fallbacks work in the same way as before.
- Loading branch information
Showing
3 changed files
with
32 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters