diff --git a/backend/sportsmatch/src/main/java/com/sportsmatch/auth/SecurityConfig.java b/backend/sportsmatch/src/main/java/com/sportsmatch/auth/SecurityConfig.java index aca25ff9..36af3498 100644 --- a/backend/sportsmatch/src/main/java/com/sportsmatch/auth/SecurityConfig.java +++ b/backend/sportsmatch/src/main/java/com/sportsmatch/auth/SecurityConfig.java @@ -28,7 +28,11 @@ public class SecurityConfig { private String frontendUrl; static final String[] API_WHITE_LIST_URL = { - "/api/v1/auth/**", "/api/v1/places/search", "/api/v1/event/nearby", "/api/v1/sports/all" + "/api/v1/auth/login", + "/api/v1/auth/register", + "/api/v1/places/search", + "/api/v1/event/nearby", + "/api/v1/sports/all" }; private final JwtAuthFilter jwtAuthFilter;