Hello! Please help me understand what I’m doing wrong. I get the access_token in the following way:
curl --request POST
--url https://dev-pw7keeqltr75byy6.us.auth0.com/oauth/token
--header 'content-type: application/json'
--data '{"client_id":"$client_id","client_secret":"$client_secret", "audience":"API new","grant_type":"client_credentials"}'
Next, I want to check the validity of the access_token:
curl --request POST
--url https://dev-pw7keeqltr75byy6.us.auth0.com/oauth2/v1/introspect -H "Content-type:application/x-www-form-urlencoded" -d "client_id=$client_id&token_type_hint=access_token&token=$access_token"
I get “Not found” as a result
Please help in solving this problem. Thank you