-
-
Notifications
You must be signed in to change notification settings - Fork 569
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
IdpMetadata#name_id_format(s) should be parsed as a prioritized list #603
Comments
You see that the name_id_format is a settings value at the SP side, this value is used in order to generate the AuthNRequest. The parser could be extended to include a:
and the to_hash could be extended as:
|
I think the right way would be to add a new option to
(Note that we currently have the following:)
If the option is not specified, behavior will be the same at it is now. Would you accept a PR for this? |
Seems reasonable |
PR raised |
Currently
IdpMetadata#name_id_format
is a singular (scalar) value.Since the IdP metadata can include multiple nameId formats, it would be useful to add a #name_id_formats method.
Then,
#name_id_format
could be selected to be the one that matches the SP metadata requirement.The text was updated successfully, but these errors were encountered: