Added healthCheck to permitted URLs
This commit is contained in:
+1
-2
@@ -21,8 +21,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
flows = @OAuthFlows(
|
||||
implicit = @OAuthFlow(
|
||||
authorizationUrl = "https://id.2martens.de/realms/wahlrecht/protocol/openid-connect/auth",
|
||||
tokenUrl = "https://id.2martens.de/realms/wahlrecht/protocol/openid-connect/token",
|
||||
scopes = {}
|
||||
tokenUrl = "https://id.2martens.de/realms/wahlrecht/protocol/openid-connect/token"
|
||||
)
|
||||
)
|
||||
)
|
||||
|
||||
+1
@@ -30,6 +30,7 @@ import org.springframework.security.web.SecurityFilterChain;
|
||||
public class WebSecurityConfiguration {
|
||||
|
||||
private static final Collection<String> PERMITTED_PATHS = List.of(
|
||||
"/wahlrecht/healthCheck",
|
||||
"/wahlrecht/v1/getToken",
|
||||
"/wahlrecht/v1/doc/**",
|
||||
"/wahlrecht/v1/api-docs/**",
|
||||
|
||||
Reference in New Issue
Block a user