Allow credentials for CORS requests

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2020-06-30 03:17:50 +00:00
parent b8a4a7f9f7
commit fd517cb2f8

View file

@ -99,6 +99,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.map(Enum::name)
.collect(Collectors.toList())
);
corsConfig.setAllowCredentials(true);
return corsConfig;
})
.and()