Added registration endpoint to whitelist
Build, Test & Push Auth Service / quality-check (push) Successful in 39s
Build, Test & Push Auth Service / docker (push) Successful in 1m43s

This commit is contained in:
Andreas Dahm committed 2026-04-24 10:22:15 +02:00
1 parent c312d271ad
commit 6b8aa4458c
1 file changed
+1
@@ -34,6 +34,7 @@ public class SecurityConfig {
*/ */
private static final String[] WHITE_LIST_URLS = { private static final String[] WHITE_LIST_URLS = {
"/api/auth/**", // Allow login, registration, etc. "/api/auth/**", // Allow login, registration, etc.
"/api/registration/**", // Allow new user registration
"/actuator/health", // Allow health checks (e.g., for Docker/Traefik) "/actuator/health", // Allow health checks (e.g., for Docker/Traefik)
"/actuator/prometheus", // Allow Prometheus to scrape metrics "/actuator/prometheus", // Allow Prometheus to scrape metrics
"/error" // Default Spring Boot error page routing "/error" // Default Spring Boot error page routing