Finished account page users tab

This commit is contained in:
2025-03-02 20:58:46 -05:00
parent 02c615ee0c
commit dd4480cf4e
7 changed files with 297 additions and 11 deletions

View File

@@ -43,7 +43,8 @@ public class SecurityConfig{
http
.csrf(csrf -> csrf.disable())
.authorizeHttpRequests(auth -> {
auth.requestMatchers("/auth/refresh").permitAll() //Permit refresh tokens
auth.requestMatchers(HttpMethod.OPTIONS).permitAll()
.requestMatchers("/auth/refresh", "/auth/test").permitAll() //Permit refresh tokens
.requestMatchers(HttpMethod.POST, "/auth/signup", "/auth/confirm").permitAll() //Permit signup operations
.requestMatchers("/auth/forgot", "/auth/forgot/*").permitAll() //Permit forgot password operations
.anyRequest().authenticated();