I’m using auth0 password less authentication to use APIs built using Django-rest-framework. I follow this tutorial from auth0 https://auth0.com/docs/quickstart/backend/django/01-authorization and when i call the API with an Authorization token it returns this error {“details”: “Error decoding code.”}
Please help me to solve this issue. I already posted a question but did not find any solution.
Are you following the instructions precisely? If so and then problem still occurs please create a GitHub issue for that so we can try handling that directly with the repo quickstart authors Make sure to share the link to it here with us!
It’s not up to me. It’s in the quickstart team backlog and they’ll start working on it as soon as they can. If you’re a paying customer you can open a support ticket in our support center and have it handled quicker.
Any update about the issue? how much time it will take as I have created two posts regarding the same issue and it is about 1 month to go I have created my first post and still not get any solution. Here is my first post link
Sorry for the delay in response but I was on vacation and simply out of office. As I’ve said the only thing we can do as community engineers is to advocate for your needs to the appropriate team but then the decision maker here is the team responsible for certain part of the stack.
They receive quite big amounts of feedback and requests and based on the number of people asking for certain thing they need to prioritize that in their backlog. Thank you for you patience and once more sorry for the inconvenience!
I’m new with auth0 as well, and, when replicating the tutorial for Django, I noticed, after many tests, that the call of the jwt.decode function was made by using the api_identifier, but what worked for me was the api_audience. Just like the following:
where api_audience = https://.us.auth0.com/auth/v2/
At my point of view, the documentation isn’t consistent with the functions, or I am missing something (maybe version mismatch between documentation and code?). Whatsoever, I edited the code on a fork from the auth0’s repository and submitted a pull request.