We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b456da4 commit d1e53e6Copy full SHA for d1e53e6
src/main/java/com/faforever/api/config/security/WebSecurityConfig.java
@@ -27,6 +27,8 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
27
final var bearerTokenResolver = new DefaultBearerTokenResolver();
28
bearerTokenResolver.setAllowUriQueryParameter(true);
29
30
+ // @formatter:off
31
+ http.csrf(AbstractHttpConfigurer::disable);
32
http.headers(headersConfig -> headersConfig.cacheControl(HeadersConfigurer.CacheControlConfig::disable));
33
http.formLogin(AbstractHttpConfigurer::disable);
34
http.oauth2ResourceServer(oauth2Config -> {
0 commit comments