Use proper configuration key

the getter method is `getOpaquetoken()` not `getOpaqueToken()`

See c6045c3111/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/security/oauth2/resource/OAuth2ResourceServerProperties.java (L51)

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
This commit is contained in:
Yanming Zhou 2025-04-28 10:01:23 +08:00 committed by Josh Cummings
parent 5354e4d2c5
commit 9c76ab69f0
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ spring:
security:
oauth2:
resourceserver:
opaque-token:
opaquetoken:
introspection-uri: https://idp.example.com/introspect
client-id: client
client-secret: secret
@ -616,7 +616,7 @@ spring:
security:
oauth2:
resourceserver:
opaque-token:
opaquetoken:
introspection-uri: https://idp.example.org/introspection
client-id: client
client-secret: secret

View File

@ -28,7 +28,7 @@ spring:
security:
oauth2:
resourceserver:
opaque-token:
opaquetoken:
introspection-uri: https://idp.example.com/introspect
client-id: client
client-secret: secret
@ -782,7 +782,7 @@ spring:
security:
oauth2:
resourceserver:
opaque-token:
opaquetoken:
introspection-uri: https://idp.example.org/introspection
client-id: client
client-secret: secret