Expose property to configure OAuth2 provider configurationMetadata

Closes gh-21375
This commit is contained in:
Madhura Bhave
2020-05-12 13:42:03 -07:00
parent 6b8d08a6e3
commit 7b79029949
4 changed files with 26 additions and 0 deletions

View File

@@ -3219,6 +3219,7 @@ You can register multiple OAuth2 clients and providers under the `spring.securit
spring.security.oauth2.client.provider.my-oauth-provider.user-info-authentication-method=header
spring.security.oauth2.client.provider.my-oauth-provider.jwk-set-uri=https://my-auth-server/token_keys
spring.security.oauth2.client.provider.my-oauth-provider.user-name-attribute=name
spring.security.oauth2.client.provider.my-oauth-provider.configuration-metadata.end_session_endpoint=https://my-end-session-endpoint
----
For OpenID Connect providers that support https://openid.net/specs/openid-connect-discovery-1_0.html[OpenID Connect discovery], the configuration can be further simplified.