-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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:
#return $x->Subject($saml, $x->NameID($saml, {NameQualifier => $self->nameid}));
return $x->Subject($saml, $x->NameID($saml, {}, $self->nameid));
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.
Metadata
Metadata
Assignees
Labels
No labels