Skip to content

Commit a0afec1

Browse files
committed
Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24313
1 parent a714ba4 commit a0afec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/spring-boot-features.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3817,6 +3817,10 @@ For example, for servlet applications, you can add your own `SecurityFilterChain
38173817
}
38183818
----
38193819

3820+
TIP: Spring Boot auto-configures an `InMemoryOAuth2AuthorizedClientService` which is used by Spring Security for the management of client registrations.
3821+
The `InMemoryOAuth2AuthorizedClientService` has limited capabilities and we recommend using it only for development environments.
3822+
For production environments, consider using a `JdbcOAuth2AuthorizedClientService` or creating your own implementation of `OAuth2AuthorizedClientService`.
3823+
38203824

38213825

38223826
[[boot-features-security-oauth2-common-providers]]

0 commit comments

Comments
 (0)