-
Couldn't load subscription status.
- Fork 6.2k
Description
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 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.