Skip to content

Commit fceeb57

Browse files
committed
PermitALl in the filter
1 parent a419e5f commit fceeb57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/localega-tsd-proxy/src/main/java/no/elixir/fega/ltp/LocalEGATSDProxyApplication.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ public RestTemplate restTemplate(RestTemplateBuilder builder) {
124124
public SecurityFilterChain apiFilterChain(HttpSecurity http) throws Exception {
125125
http.securityMatcher("/gettoken", "/stream/**", "/files", "/resumables")
126126
.csrf(AbstractHttpConfigurer::disable)
127-
.authorizeHttpRequests(auth -> auth.anyRequest().authenticated())
128-
.oauth2ResourceServer(oauth2 -> oauth2.jwt(Customizer.withDefaults()));
127+
.authorizeHttpRequests(auth -> auth.anyRequest().permitAll());
129128
return http.build();
130129
}
131130

0 commit comments

Comments
 (0)