userInfoEndpoint
Configures the Authorization Server's UserInfo Endpoint.
Example:
@Configuration
@EnableWebSecurity
class SecurityConfig {
@Bean
fun securityFilterChain(http: HttpSecurity): SecurityFilterChain {
http {
oauth2Login {
userInfoEndpoint {
userService = getUserService()
}
}
}
return http.build()
}
}Content copied to clipboard
Parameters
userInfoEndpointConfig
custom configurations to configure the user info endpoint