You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenSamlMetadataResolver should serialize NameID formats associated with an SP.
Current Behavior
OpenSamlMetadataResolver does not serialize any NameID formats.
Context
It is typical for SP descriptors to include a set of supported NameID formats. OpenSamlMetadataResolver does not even attempt to serialize a default set of them, let alone user-provided ones. This may be partly due to RelyingPartyRegistration not allowing users to define them. At a minimum, OpenSamlMetadataResolver should attempt to include the formats in the urn:oasis:names:tc:SAML:1.1:nameid-format namespace. It might also be helpful for OpenSamlMetadataResolver not to be marked final so users can customize the serizliation.
The text was updated successfully, but these errors were encountered:
I am having an issue where NameID is not in the SAML response. I wonder if this is the reason? The error I get is misleading:
[subject_not_found] Assertion [_a79ccbf3-6309-4f18-a132-2a4c91653a19] is missing a subject
However when you dig into the code and review the response the reason is the NameID is not returned. Did you ever find a workaround? I see the NameId changes in #9115 are in the 5.7.x branch which is no released yet.
Expected Behavior
OpenSamlMetadataResolver
should serialize NameID formats associated with an SP.Current Behavior
OpenSamlMetadataResolver
does not serialize any NameID formats.Context
It is typical for SP descriptors to include a set of supported NameID formats.
OpenSamlMetadataResolver
does not even attempt to serialize a default set of them, let alone user-provided ones. This may be partly due toRelyingPartyRegistration
not allowing users to define them. At a minimum,OpenSamlMetadataResolver
should attempt to include the formats in theurn:oasis:names:tc:SAML:1.1:nameid-format
namespace. It might also be helpful forOpenSamlMetadataResolver
not to be markedfinal
so users can customize the serizliation.The text was updated successfully, but these errors were encountered: