Skip to content

Commit b29ac37

Browse files
committed
Add docs about using InMemoryOAuth2AuthorizedClientService
Closes gh-24596
1 parent 9e5a6c5 commit b29ac37

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

+4
Original file line numberDiff line numberDiff line change
@@ -3450,6 +3450,10 @@ public class OAuth2LoginSecurityConfig extends WebSecurityConfigurerAdapter {
34503450
}
34513451
----
34523452

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

34543458

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

0 commit comments

Comments
 (0)