Skip to content

Commit 29dfc9a

Browse files
Updated the security endpointds
1 parent 2a1cbb3 commit 29dfc9a

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

src/main/java/org/spacehub/configuration/SecurityConfiguration.java

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -67,30 +67,29 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
6767
.authorizeHttpRequests(auth -> auth
6868
.requestMatchers(HttpMethod.OPTIONS, "/**").permitAll()
6969
.requestMatchers(
70-
"/ws-messages/**",
71-
"/api/v1/voice-room/**",
72-
"/api/v1/**",
73-
"/api/**",
74-
"/ws/**",
75-
"/swagger-ui/**",
76-
"/v3/api-docs/**",
77-
"/v3/api-docs.yaml",
78-
"/chat",
79-
"/chat/**",
80-
"/files/**",
81-
"/notification/**",
82-
"/wss/**"
83-
// "/api/v1/login",
84-
// "/api/v1/registration",
85-
// "/api/v1/validateregisterotp",
86-
// "/api/v1/forgotpassword",
87-
// "/api/v1/validateforgototp",
88-
// "/api/v1/resetpassword",
89-
// "/api/v1/resendotp",
90-
// "/api/v1/resendforgototp",
91-
// "/swagger-ui/**",
92-
// "/v3/api-docs/**"
93-
70+
// "/ws-messages/**",
71+
// "/api/v1/voice-room/**",
72+
// "/api/v1/**",
73+
// "/api/**",
74+
// "/ws/**",
75+
// "/swagger-ui/**",
76+
// "/v3/api-docs/**",
77+
// "/v3/api-docs.yaml",
78+
// "/chat",
79+
// "/chat/**",
80+
// "/files/**",
81+
// "/notification/**",
82+
// "/wss/**"
83+
"/api/v1/login",
84+
"/api/v1/registration",
85+
"/api/v1/validateregisterotp",
86+
"/api/v1/forgotpassword",
87+
"/api/v1/validateforgototp",
88+
"/api/v1/resetpassword",
89+
"/api/v1/resendotp",
90+
"/api/v1/resendforgototp",
91+
"/swagger-ui/**",
92+
"/v3/api-docs/**"
9493
).permitAll()
9594
.anyRequest().authenticated()
9695
)

0 commit comments

Comments
 (0)