We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e11ee2 commit 0d1e00eCopy full SHA for 0d1e00e
1 file changed
ecom-backend/src/main/java/com/example/ecommerce/ecom_backend/config/SecurityConfig.java
@@ -83,6 +83,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
83
// Allow public access to auth, payments, and webhooks
84
.requestMatchers("/api/auth/**", "/api/payments/**", "/api/stripe/webhook").permitAll()
85
// All other requests must be authenticated
86
+ .requestMatchers("/api/test/health").permitAll()
87
.anyRequest().authenticated()
88
)
89
.exceptionHandling(exception -> exception
0 commit comments