oauth2.1 flow test
parent
138bf87e58
commit
49e16f0faa
|
@ -82,6 +82,11 @@ public class WebSecurityConfigurer {
|
|||
// http.sessionManagement(configurer -> {
|
||||
// configurer.maximumSessions(1).maxSessionsPreventsLogin(true);
|
||||
// });
|
||||
|
||||
http.exceptionHandling(configurer -> {
|
||||
configurer.accessDeniedPage("/login?access_denied=true");
|
||||
});
|
||||
|
||||
return http.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue