Polish docs gh-1725

This commit is contained in:
Joe Grandja
2024-12-04 04:20:29 -05:00
parent ed0265bf02
commit f75eec91dc
6 changed files with 24 additions and 0 deletions

View File

@@ -45,6 +45,10 @@ public class SecurityConfig {
authorizationServer
.oidc(Customizer.withDefaults()) // Enable OpenID Connect 1.0
)
.authorizeHttpRequests((authorize) ->
authorize
.anyRequest().authenticated()
)
// Redirect to the OAuth 2.0 Login endpoint when not authenticated
// from the authorization endpoint
.exceptionHandling((exceptions) -> exceptions