Skip to content

SAML: OpenSamlMetadataResolver doesn't include NameID formats in output #9297

Closed
@handcraftedbits

Description

@handcraftedbits

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions