Create spring-boot-security-oauth2-client module

This commit is contained in:
Andy Wilkinson
2025-03-31 10:39:09 +01:00
committed by Phillip Webb
parent f53b9786e5
commit d5e84c627d
38 changed files with 100 additions and 102 deletions

View File

@@ -96,7 +96,7 @@ https://oauth.net/2/[OAuth2] is a widely used authorization framework that is su
=== Client
If you have `spring-security-oauth2-client` on your classpath, you can take advantage of some auto-configuration to set up OAuth2/Open ID Connect clients.
This configuration makes use of the properties under javadoc:org.springframework.boot.autoconfigure.security.oauth2.client.OAuth2ClientProperties[].
This configuration makes use of the properties under javadoc:org.springframework.boot.security.oauth2.client.autoconfigure.OAuth2ClientProperties[].
The same properties are applicable to both servlet and reactive applications.
You can register multiple OAuth2 clients and providers under the `spring.security.oauth2.client` prefix, as shown in the following example: