Add docs about using InMemoryOAuth2AuthorizedClientService

Closes gh-24313
This commit is contained in:
Madhura Bhave 2020-12-22 12:13:17 -08:00
parent a714ba44ea
commit a0afec120d
1 changed files with 4 additions and 0 deletions

View File

@ -3817,6 +3817,10 @@ For example, for servlet applications, you can add your own `SecurityFilterChain
}
----
TIP: Spring Boot auto-configures an `InMemoryOAuth2AuthorizedClientService` which is used by Spring Security for the management of client registrations.
The `InMemoryOAuth2AuthorizedClientService` has limited capabilities and we recommend using it only for development environments.
For production environments, consider using a `JdbcOAuth2AuthorizedClientService` or creating your own implementation of `OAuth2AuthorizedClientService`.
[[boot-features-security-oauth2-common-providers]]