springBootStarterSecurityOAuth2ClientAutoConfiguration top-level property

  1. @AutoConfigurationModule(before: ['springBootStarterOauth2ClientAutoConfiguration'], platform: ModulePlatform.native)
BeanModule springBootStarterSecurityOAuth2ClientAutoConfiguration
final

The ID token decoder of servers (oidcIdTokenDecoder, an OidcIdTokenDecoderFactory that checks signatures with the provider's keys), registered before the OAuth2 client starter's module (before), so the client starter's default, which trusts the token endpoint's TLS, steps aside for every user of the bean: oauth2Login() and the refresh of authorized clients.

Implementation

@AutoConfigurationModule(
  before: ['springBootStarterOauth2ClientAutoConfiguration'],
  platform: ModulePlatform.native,
)
final BeanModule springBootStarterSecurityOAuth2ClientAutoConfiguration =
    BeanModule('springBootStarterSecurityOAuth2ClientAutoConfiguration', [
      ...securityOAuth2ClientAutoConfiguration,
    ]);