-
Notifications
You must be signed in to change notification settings - Fork 7
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
NameID in AuthnRequest #195
Comments
I am thinking something like:
|
Oh I see now, it should have been "issuer_namequalifier". Is it logical to send just a NameQualifier without NameID? If it is then maybe the return statement needs to allow for either, like: |
That would make sense. We could also tweak the builder to croak once you set the @timlegge be aware that our BUILDARGS are doing some magic with nameid_format. It was introduced with 56051db
That might need further inspection to see how we want to deal with it. |
I've not forgotten this issue. I've made a first step with #200 to add a deprecation warning to the builder so we have wiggle room to fix the issue correctly. |
…_warning Add deprecation warning for nameid_format in Protocol::AuthnRequest
[Compatibility Deprecation Warning] - The Redirect now uses SHA256 dy default instead of SHA1 - nameid_format in Protocol::AuthnRequest is Deprecated. Please update your code to use nameidpolicy_format instead. The current code simply warns but a future version will use nameid_format for other purposes see: #195. [Detailed Change Log] - 70890a1 Add deprecation warning for nameid_format in Protocol::AuthnRequest - 4920a03 add and BumpVersionAfterRelease - 5ba4c33 Set Default Redirect Signature Algorithm to sha256 - 12afa9a v0.76
Hi guys, I spotted Net::SAML2::Protocol::AuthnRequest has a name_id parameter, but it doesn't result in what I would expect.
If populated it would add a NameID tag with NameQualifier="value", rather than providing the value for NameID itself.
I had to make my own version of AuthnRequest and change the following line:
Would it be possible to add a parameter that sets the NameID value (maybe the Format attribute too)? Though I guess it can no longer be called "name_id" since it seems NameQualifier could be used to hint to the IdP of the domain the user might reside in.
The above change was proven to work with the "saml_subject" attribute on PingOne.
The text was updated successfully, but these errors were encountered: