We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20add8c commit 68bbca4Copy full SHA for 68bbca4
1 file changed
src/main/java/com/waitit/capstone/global/config/SecurityConfig.java
@@ -62,7 +62,7 @@ public CorsConfigurationSource corsConfigurationSource() {
62
config.setAllowedHeaders(List.of("*"));
63
config.setAllowCredentials(true);
64
config.setMaxAge(3600L);
65
- config.setExposedHeaders(List.of("*"));
+ config.setExposedHeaders(List.of("*","Authorization"));
66
67
UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource();
68
source.registerCorsConfiguration("/**", config);
0 commit comments