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

This commit is contained in:
usbharu 2023-09-24 16:18:28 +09:00
parent 2674bb0788
commit 52a3ae72dc
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 {