feat: 404が帰らないことがあるので修正

This commit is contained in:
usbharu 2023-09-24 16:18:28 +09:00
parent 75972df549
commit 6ad33061c3
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class SecurityConfig {
it.requestMatchers(builder.pattern("/change-password")).authenticated()
it.requestMatchers(builder.pattern("/api/v1/accounts/verify_credentials"))
.hasAnyAuthority("SCOPE_read", "SCOPE_read:accounts")
it.anyRequest().denyAll()
it.anyRequest().permitAll()
}
http
.oauth2ResourceServer {