Mind you… From Spring Security 7 onwards you’re supposed to define your own “JwtDecoder” bean otherwise it wont work😊
Spent 2 hrs troubleshooting my securtity key and resource server configuration, coz no proper error message specified on what to do💀