Skip to content

Customizing the metadata endpoint does not work #9133

@dawi

Description

@dawi

Describe the bug

The documentation states that the metadata endpoint can be changed by like this:

filter.setRequestMatcher(new AntPathRequestMatcher("/saml2/metadata", "GET"));

But it does not work as expected because the registration id resolver returns metadata as registration id due to the used ant matcher.

private final RequestMatcher requestMatcher = new AntPathRequestMatcher("/**/{registrationId}");

Metadata

Metadata

Assignees

Labels

in: docsAn issue in Documentation or samplesstatus: backportedAn issue that has been backported to maintenance branchestype: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions