With the release Spring Security 6, we should align docs between Spring Boot and Spring Security. This PR includes the following minor changes to the OAuth2 Client section of the docs:
- Add an OpenID Connect login client example
- Update redirect-uri examples to match Security docs and not require any customization
- Update client-authentication-method for Spring Security 6 usage (
basicandpostmatched constants which were deprecated and subsequently removed) - Update provider configuration example to align with Spring Authorization Server
- Format Java DSL according to Spring Security docs
- Use Kotlin DSL
- Update redirection endpoint base uri example to use ant pattern
Comment From: mhalbritter
Thank you!