问题
Does someone have a Spring Security OAuth 2 resource server (SP) example with JWT and asymmetric keys which is using JWK with a JWKS endpoint?
Thanks a lot. Essey
回答1:
Spring Security OAuth 2 resource server can be configured to use JWK. If you are using Spring Boot, you only need to use the property security.oauth2.resource.jwk.key-set-uri to configure the JWKS endpoint.
That is the only special difference with the plenty of samples you might find online.
来源:https://stackoverflow.com/questions/44624861/spring-security-oauth-with-jwk-example