Closed
Description
This may break if JwtDecoder
is not on the classpath as OAuth2AuthorizationServerJwtAutoConfiguration
will still be loaded but it will declare a method whose signature refers to a class that does not exist.
There's no check here for com.nimbusds.jose.jwk.source.JWKSource
or com.nimbusds.jose.proc.SecurityContext
being on the classpath and the class only checks for org.springframework.security.oauth2.server.authorization.OAuth2Authorization
.
It could be that the presence of OAuth2Authorization
implies that the other classes must be present, or it may be that we need to introduce some inner-classes.