diff --git a/src/main/java/team7/inplace/security/config/CorsConfig.java b/src/main/java/team7/inplace/security/config/CorsConfig.java index 3eaf1b9a..91c296b2 100644 --- a/src/main/java/team7/inplace/security/config/CorsConfig.java +++ b/src/main/java/team7/inplace/security/config/CorsConfig.java @@ -32,7 +32,7 @@ public CorsFilter corsFilter() { config.addAllowedHeader("PATCH"); config.addAllowedMethod("HEAD"); config.setMaxAge(3600L); - config.setExposedHeaders(Arrays.asList("Location")); + config.setExposedHeaders(Arrays.asList("Location", "Set-Cookie")); source.registerCorsConfiguration("/**", config); return new CorsFilter(source); }