-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Ability to modify OIDC provider configuration #616
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
Comments
@tcchambers-els currently I believe you are correct, you would need to implement your own filter to replace this one. It looks like Since the server supports multiple clients, how would you envision filling in this field? Would it just be hard-coded to |
Hi @sjohnr, I think either of those solutions would work - as you say |
@tcchambers-els @sjohnr I'm not sure adding the config to I think what we'll need to do is expose a setter for |
hi @jgrandja. I can start working on this issue. |
Maybe it's already a bit too late poping up here, but I'd like to be able to completely disable the OIDC Part of the authorization server and only use oauth2. Should I open another issue for this request? |
@its-felix, the |
@tcchambers-els This is now merged via 0994a1e. Please take a look at this test that demonstrates how to customize the OIDC provider configuration response. |
Expected Behavior
When enabling OIDC it would be good to be able to customise
/.well-known/openid-configuration
information. In my case I would like to modify thescopes_supported
claimCurrent Behavior
I can see how I can create an instance of
OidcProviderConfiguration
but I can't see how I can modify the one used herespring-authorization-server/oauth2-authorization-server/src/main/java/org/springframework/security/oauth2/server/authorization/oidc/web/OidcProviderConfigurationEndpointFilter.java
Line 79 in 82e4f3a
Context
We would like the ability to modify some of the optional OIDC provider information to accurately reflect the actual provider.
The text was updated successfully, but these errors were encountered: