Closed
Description
Describe the bug
- Spring Authorization Server 1.3.0 metadata endpoint not compatible, it generates a "Null" Path, which prevents the serialization of jackson, preventing the creation of the openapi json.
To Reproduce
Steps to reproduce the behavior:
- What version of spring-boot you are using? 3.3.0
- What modules and versions of springdoc-openapi are you using? webmvc-ui-starter
- What is the actual and the expected result using OpenAPI Description (yml or json)? json
- Provide with a sample code (HelloController) or Test that reproduces the problem -> just add spring authorization server with defaults
Expected behavior
- spring authorization server metadata endpoint default url
Screenshots
the matcher is a lambda, so that's probably the reason why the code doesn't work properly
so in the method
org.springdoc.core.configuration.SpringDocSecurityOAuth2Customizer#buildPath
no matching is being done, and the path ends up being null.
Additional context
spring is checking if it has multipleIssuers, so maybe you can guys customize the code and check if isMultipleIssuersAllowed directly and apply the default DEFAULT_OAUTH2_AUTHORIZATION_SERVER_METADATA_ENDPOINT_URI, otherwise leave it with the /** by default?
Metadata
Metadata
Assignees
Labels
No labels