Skip to content

Commit 4c9c34e

Browse files
committed
Update WebSecurityConfig.java
2 parents 61bb815 + e4640ff commit 4c9c34e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

apps/jobboard-backend/src/main/java/org/bounswe/jobboardbackend/auth/security/WebSecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
7575
.authorizeHttpRequests(auth -> auth
7676
.requestMatchers(HttpMethod.OPTIONS, "/**").permitAll()
7777
.requestMatchers("/api/auth/login/verify","/api/auth/login", "/api/auth/register", "/api/auth/verify-email", "/api/auth/password-reset/**", "/v3/api-docs/**", "/swagger-ui/**", "/error","/ws-chat/**").permitAll()
78+
.requestMatchers("/api/public/**").permitAll()
7879
.anyRequest().permitAll()
7980
)
8081

0 commit comments

Comments
 (0)