It must think you are using opaque tokens. That code you referenced looks like the DefaultTokenServices class, which from the Javadocs is a `Base implementation for token services using random UUID values for the access token and refresh token values`.
https://github.com/spring-projects/spring-security-oauth/blob/7bfe08d8f95b2fec035de484068f7907851b27d0/spring-security-oauth2/src/main/java/org/springframework/security/oauth2/provider/token/DefaultTokenServices.java#L227
Do you have the spring-security-jwt dependency included?
>For JWT support, you also need spring-security-jwt.
https://docs.spring.io/spring-security-oauth2-boot/docs/current/reference/html/boot-features-security-oauth2-resource-server.html#dependencies-2
You also have `jwt` on line 5 of your properties snippet above, but the doc says `jwk`. That might cause it to miss that config property.
spring:
security:
oauth2:
resource:
jwk:
key-set-uri: https://idp.example.com/.well-known/jwks.json
If that doesn't help, it might be good to turn up the log level for `org.springframework.security` to DEBUG and see if you see anything else. In particular, around start up and how it's configured things. The Actuator beans endpoint might be helpful too, you could see which beans got configured, or `--debug` start argument.
Hope that helps!