Skip to content

Commit

Permalink
Update SecurityConfig.java
Browse files Browse the repository at this point in the history
Add "/metadata" to authExceptions so that you don't need a bearer token to get a CapabilityStatement.
  • Loading branch information
feralearthman authored Aug 27, 2024
1 parent 18f6f82 commit c16573f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {

private final String[] authExceptions = new String[]{"/swagger-ui/**", "/configuration/**",
"/swagger-resources/**", "/v3/api-docs/**", "/webjars/**",
AKAMAI_TEST_OBJECT, "/favicon.ico", "/error", HEALTH_ENDPOINT, STATUS_ENDPOINT};
AKAMAI_TEST_OBJECT, "/favicon.ico", "/error", HEALTH_ENDPOINT, STATUS_ENDPOINT,
"/metadata"};

@Override
protected void configure(HttpSecurity security) throws Exception {
Expand Down

0 comments on commit c16573f

Please sign in to comment.