fix: permit /error endpoint to show proper error messages

This commit is contained in:
Nabil Derouiche 2026-04-19 20:32:25 +01:00
parent 22944b571d
commit d1e3ffe12a
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ public class WebSecurityConfig {
.authorizeHttpRequests(auth -> auth .authorizeHttpRequests(auth -> auth
.requestMatchers("/api/auth/**").permitAll() .requestMatchers("/api/auth/**").permitAll()
.requestMatchers("/api/test/**").permitAll() .requestMatchers("/api/test/**").permitAll()
.requestMatchers("/error").permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()
); );