I m calling introspect endpoint in postman , putting token_type and token in query params and in headers , i’m giving content-type as application/xx-www-urlencoded , authentication as basic (base64{clientid:client_secret}) but still receiving bad request. Please help.
What request URL are you using?
- If the
iss
in your token is “https://oktaDomain”, then you should make this request to “https://oktaDomain/oauth2/v1/introspect” - If the
iss
in your token is “https://oktaDomain/oauth2/default”, then you should make this request to “https://oktaDomain/oauth2/default/v1/introspect” - If the
iss
in your token is similar to “https://oktaDomain/oauth2/aus123456789”, then you should make this request to “https://oktaDomain/oauth2/aus123456789/v1/introspect”
If your request URL is correct, you may want to try using our OpenID Connect Postman Collection to help you format this request
The url is correct. What should i import from the collections?
The OpenID Connect collection will have a pre-configured request for the Introspect endpoint