mirror of https://github.com/usbharu/Hideout.git
feat: 404が帰らないことがあるので修正
This commit is contained in:
parent
75972df549
commit
6ad33061c3
|
@ -75,7 +75,7 @@ class SecurityConfig {
|
||||||
it.requestMatchers(builder.pattern("/change-password")).authenticated()
|
it.requestMatchers(builder.pattern("/change-password")).authenticated()
|
||||||
it.requestMatchers(builder.pattern("/api/v1/accounts/verify_credentials"))
|
it.requestMatchers(builder.pattern("/api/v1/accounts/verify_credentials"))
|
||||||
.hasAnyAuthority("SCOPE_read", "SCOPE_read:accounts")
|
.hasAnyAuthority("SCOPE_read", "SCOPE_read:accounts")
|
||||||
it.anyRequest().denyAll()
|
it.anyRequest().permitAll()
|
||||||
}
|
}
|
||||||
http
|
http
|
||||||
.oauth2ResourceServer {
|
.oauth2ResourceServer {
|
||||||
|
|
Loading…
Reference in New Issue