Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
eTRANSAFE
pretox-rest-api
Commits
b3b2dc1b
Commit
b3b2dc1b
authored
Jan 19, 2022
by
Javi Corvi
Browse files
authorization token not sended to api
parent
e2c842c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/es/bsc/inb/ades/rest/api/security/pkce/SecurityConfig.java
View file @
b3b2dc1b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment