I’d like to introspect a token that was generated from an app using PKCE (no clientSecret), but the only ways I can figure out to make the endpoint work is with the clientId+Secret in there. Is there another way?
Have you inspected the token in a tool like jsonwebtoken.io? What’s the exp value?
Also: make sure that your using the introspect endpoint of the same authorization server issuer that you used to create the token.
https://{yourOktaOrg}/oauth2 is the org level authorization server.
As opposed to: https://{yourOktaOrg}/oauth2/{authorization server id}, which is a custom authorization server.
In the first case (and in your example), you’d use:https://{yourOktaOrg}/oauth2/v1/introspect
In the second case, you’d use: https://{yourOktaOrg}/oauth2/{authorization server id}/v1/introspect
@micah.silverman That was it! When I examined the token in that website I could see the issuer url was …/oauth2/default so I added default in my introspect url and now it works.
Can you please open a ticket with us at developers@okta.com mentioning the Okta org on which you have issues, along with a sample request that you do to /introspect endpoint?