Commit b3b2dc1b authored by Javi Corvi's avatar Javi Corvi
Browse files

authorization token not sended to api

parent e2c842c9
......@@ -29,7 +29,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
// .disable()
// .oauth2ResourceServer()
// .jwt();
httpSecurity.headers().frameOptions().sameOrigin();
httpSecurity
.authorizeRequests()
.antMatchers(HttpMethod.GET, "/liveness").permitAll()
......@@ -47,6 +47,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.disable()
.oauth2ResourceServer()
.jwt();
//
// httpSecurity
// .authorizeRequests(authz -> authz
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment