-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issueA duplicate of another issue
Description
We should register a RestOperations
@Bean
in OAuth2ClientConfiguration
that is configured with default settings and is used as the default via setRestOperations(restOperations)
in the various oauth2-client
flows - see #5601.
The well-known @Bean
should be named springSecurityOAuth2RestOperations and automatically be injected/used as the default in all oauth2-client
flows. The user has the ability to register a @Bean
with the same name, which will effectively override the default.
For now, the default @Bean
will be configured with default connect and read timeout settings for 30 secs. However, the user may override this @Bean
and provide custom settings for Proxy, SSL, HTTP Client backing implementation, etc.
PascalSchumacher
Metadata
Metadata
Assignees
Labels
in: oauth2An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)status: duplicateA duplicate of another issueA duplicate of another issue