oauth2Client
Configures OAuth 2.0 client support.
Example:
@Configuration
@EnableWebSecurity
class SecurityConfig {
@Bean
fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
http {
oauth2Client { }
}
return http.build()
}
}Content copied to clipboard
Parameters
oauth2ClientConfiguration
custom configuration to configure the OAuth 2.0 client support