-
-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Authorization Server Metadata Endpoint not compatible #2606
Comments
you just exclude @SpringBootApplication(exclude = {SpringDataWebAutoConfiguration.class}) and it will be fine |
I'm having the same issue and this didn't fix the problem. From testing locally it looks like upgrading If I had to guess it was this change that's causing the issue: spring-projects/spring-authorization-server@4cfe59c |
you can see this issues spring-projects/spring-data-commons#2937 |
The check if isMultipleIssuersAllowed can be done only in |
Hey @bnasslahsen, is there a workaround before the fix released? I really can't downgrade authorization server to |
@bnasslahsen I just tried the release candidate, and seems that it's still not working. |
Not working, will not really help :) Feel free to provide a Minimal, Reproducible Example - with HelloController that reproduces the problem. Remember, contributions to this repository should follow its contributing guidelines |
sure, i'lll create another issue, but seems that the exception is still the same: |
Describe the bug
To Reproduce
Steps to reproduce the behavior:
Expected behavior
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?
The text was updated successfully, but these errors were encountered: