Skip to content

Commit

Permalink
SMA-109: updated url white list to solve problem with api/v1/auth/me
Browse files Browse the repository at this point in the history
  • Loading branch information
ivamach committed Apr 24, 2024
1 parent 5f0b700 commit 7c4f3f6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7c4f3f6

Please sign in to comment.