How to use org level authorization server in OKTA Spring SDK

I am attempting to use my organization’s org level auth server to validate tokens in my Spring Boot backend. However, when setting the okta.oauth2.issuer in my application.properties to https://{company}.oktapreview.com/oauth2, the application fails to start up with the error: Unable to resolve Configuration with the provided Issuer of “https://{company}.oktapreview.com/oauth2”.

Hi @owenvey,

Based on this post https://github.com/okta/okta-spring-boot/issues/35, it doesn’t look like the library works with using the Okta org as the issuer.

The reason can be found in https://support.okta.com/help/s/article/Signature-Validation-Failed-on-Access-Token