-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Describe the bug
CORS issue with /oauth2/jwks endpoint
To Reproduce
Integrate spring-authorization-server in a SpringBoot Application
(following example provided in repo : https://github.com/spring-projects-experimental/spring-authorization-server/tree/master/samples/boot/oauth2-integration/authorizationserver)
Call the /oauth2/jwks endpoint from a JS application (or through any REST Client)
Expected behavior
The associated endpoint should allow CORS requests, but it doesn't.
Usual Spring mechanisms tested, but I seems that the JwkSetEndpointFilter behaviour could not be overriden to allow CORS requests.
Question : how could the service be configured in order to allow CORS requests on /oauth2/jwks ?
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancement