Skip to content

Commit bcb8b21

Browse files
committed
allow credentials
1 parent 1f33a76 commit bcb8b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/de/tum/cit/aet/devops/teamserverdown/config/SecurityConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public CorsFilter corsFilter() {
3232
config.setAllowedMethods(List.of("GET", "POST", "PUT", "DELETE", "OPTIONS", "PATCH"));
3333
config.setAllowedHeaders(List.of("*"));
3434
config.setExposedHeaders(List.of("Authorization"));
35-
config.setAllowCredentials(false);
35+
config.setAllowCredentials(true);
3636

3737
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
3838
source.registerCorsConfiguration("/**", config);

0 commit comments

Comments
 (0)