You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FoxNeo
changed the title
Please add a way to add prefix or Custom url mapping for OidcProviderConfigurationEndpointFilter /.well-known/openid-configuration/
Please add a way to add prefix or custom URL mapping for OidcProviderConfigurationEndpointFilter /.well-known/openid-configuration/
Oct 17, 2023
Expected Behavior
Hello, I would like to add the following Feature.
I have a web application that has the Server Context URL https://app-server.com/app-context-name/authenticator
The problem is that the OidcProviderConfigurationEndpointFilter class is final and does not allow modifying the filter url endpoint value. In this example the Metadata Endpoint would be
https://app-server.com/app-context-name/.well-known/openid-configuration/
instead of https://app-server.com/app-context-name/authenticator/.well-known/openid-configuration/
after the sub endpoint /authenticator/
It would be possible to modify the ServerSettings class to be able to override the endpoint like in UserInfo, IdToken for example:
OidcProviderConfigurationEndpointFilter.java
AuthorizationServerSettings.java
Current Behavior
it doesn't work, but it could
Context
You can override the other Endpoints from the configuration: https://docs.spring.io/spring-authorization-server/docs/current/reference/html/configuration-model.html#configuring-authorization-server-settings but the Metadata ( OIDC 1.0 DiscoveyrEndpoint) (/.well-known/openid-configuration) it's not possible.
The text was updated successfully, but these errors were encountered: