Public Access
Added registration endpoint to whitelist
This commit is contained in:
1 parent
2dc3cda51c
commit
bcbf761aa5
1 file changed
+1
@@ -34,6 +34,7 @@ public class SecurityConfig {
|
||||
*/
|
||||
private static final String[] WHITE_LIST_URLS = {
|
||||
"/api/auth/**", // Allow login, registration, etc.
|
||||
"/api/registration/**", // Allow new user registration
|
||||
"/actuator/health", // Allow health checks (e.g., for Docker/Traefik)
|
||||
"/actuator/prometheus", // Allow Prometheus to scrape metrics
|
||||
"/error" // Default Spring Boot error page routing
|
||||
|
||||
Reference in new issue
Block a user