Skip to content

Commit

Permalink
fix :: no
Browse files Browse the repository at this point in the history
  • Loading branch information
jombidev committed Sep 12, 2024
1 parent 9d503e3 commit 84b94f9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ class SecurityConfig(private val objectMapper: ObjectMapper) {
.pathMatchers("/auth/login", "/auth/register").permitAll()
.pathMatchers("/v3/api-docs/**", "/external/**", "swagger").permitAll()
.pathMatchers("/auth/resign", "/auth/session", "/auth/logout").authenticated()
.pathMatchers("/ws/**").permitAll() // WS HACKED (i hate the web standard) (WHY NO HEADER????)
.pathMatchers("/auth/verify", "/auth/resend").hasRole(UserState.CREATED.name)
.anyExchange().hasRole(UserState.ACTIVE.name)
}
Expand Down

0 comments on commit 84b94f9

Please sign in to comment.