OIDC token validation on resource server side

This is my Okta application:

My React app configuration:

I am getting access token from okta. Now how to validate this token in spring boot application which is my resource server.

Application.properties

please help

Note: I don’t want to use custom authorization server. it is working fine with that. But when i try to validate with org authorization server. it is failing.

Hi @Shubham6541

Access tokens created by org authorization server can not be verified locally through a JWT verifier as the signing keys for them are not present due to RFC restrictions. The only possibility to validate the tokens is by using the /introspect endpoint.

Thanx for your valuable time. It helped a lot.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.