Incorrect authentication credentials (Django + Auth0 API)

Hi, I’m having trouble to access Django API with Auth0 JWT token.

First I got a token from terminal using this command:

curl --request POST --url https://<COMPANY_DOMAIN>/oauth/token --header ‘content-type: application/json’ --data ‘{“client_id”:"<TESTAPP_CLIENT_ID>",“client_secret”:"<TESTAPP_CLIENT_SECRET>",“audience”:"<COMPANY_API>",“grant_type”:“client_credentials”}’

And the token is:


And then I tried to this from terminal:

curl --request GET
–header 'Authorization: Bearer ’

But it always returns this JSON data below:

{“detail”:“Incorrect authentication credentials.”}


I’ve read and followed this tutorial: (

I don’t know what the problem is.
Or am I on a wrong way?
Please guide me, thank you.

I do hate just how inattentive Auth0 support is. I’ve had to correct wrong answers from their support a few times even. Honestly if my client wasn’t using it, I’d be using Amazon or Google’s alternatives as there’s much more support for those.

Hey everyone!

Sorry for the inconvenience. We’re just people resources constraint temporarily and doing our best to help everyone asking questions in community. Thank you a lot for understanding. I’ll do my best to get back to it as soon as possible!

Sorry once more for inconvenience!

1 Like

@thqkdck3 I would like to know whether you still have problem with the thing you asked in your first post?

Do you also happen to have problems with running our Django quickstart?

Let me know so I can dig into it!