bland-finland-95044
03/07/2024, 10:17 PMcurl --location 'https://<MY ORY NETWORK PROJECT>/admin/oauth2/introspect' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <MY API KEY>' \
--data '{
"token": "<TOKEN I'M CHECKING>"
}'
// returns:
{
"error": "invalid_request",
"error_description": "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. The POST body can not be empty."
}
Checking the same token with the Ory CLI is working
ory introspect token <TOKEN I'M CHECKING> --project "$project_id"
bland-finland-95044
03/08/2024, 1:13 AM