Closed
Description
While it's true that Resource Server effectively requires spring-security-oauth2-jose
at this point, it shouldn't once it supports more than one token format.
When spring-boot-starter-security
and spring-security-oauth2-resource-server
are used together, without further configuration, the application throws the following exception:
Caused by: java.lang.ClassNotFoundException: org.springframework.security.oauth2.jwt.JwtDecoder
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 111 more
In all likelihood, this will be taken care of naturally when coordinating with the boot team to add support for a second token format.