Describe the bug We are using Spring Boot 2.7.0 (Spring v5.3.20) with Spring Authorization Server 0.3.0. Works great with temurin v17.0.2 but fails with v17.0.3 with the exception:
JwtDecoderInitializationException
Failed to lazily resolve the supplied JwtDecoder instance
To Reproduce - Obtain a bearer token from SAS - Send bearer token along with a request to a secured endpoint - 💥
Expected behavior - Endpoint should return me the data I requested
Environment: Mac Monterey M1x ARM with temurin v17.0.3 ARM
Comment From: marcusdacoregio
Hi @bjornharvold.
I tried to simulate the problem using 17.0.3-tem and the samples available on spring-security-samples but it didn't result in an error. However, my laptop is an Intel Mac. Can you share more information about the error, like the full stacktrace and implementation details?
Comment From: bjornharvold
Hi @marcusdacoregio
Will see what I can dig out of the logs for you...
Comment From: bjornharvold
This was the curious case of a self-signed certificate not having been added to the new JDK.... aaaaaaand everyone had forgotten that the self-signed certificate existed in the dev environment.
Case closed Dr. Watson 🕵🏼
Comment From: marcusdacoregio
I'm happy that you found the problem. Have a good week.