Allow credentials for CORS requests
Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
parent
b8a4a7f9f7
commit
fd517cb2f8
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
||||||
.map(Enum::name)
|
.map(Enum::name)
|
||||||
.collect(Collectors.toList())
|
.collect(Collectors.toList())
|
||||||
);
|
);
|
||||||
|
corsConfig.setAllowCredentials(true);
|
||||||
return corsConfig;
|
return corsConfig;
|
||||||
})
|
})
|
||||||
.and()
|
.and()
|
||||||
|
|
Loading…
Reference in a new issue