Right now, if I want to test the configured API in Auth0 requesting a token with my client id and client secret, I receive the following error back:
{'status': 'error', 'message': 'Invalid issuer'}
I’ve verified the token in jwt.io and looks correct and also verified my domain, api audience, issuer, and algorithms variables and can’t see any issues.
I haven’t found further information to this error and that’s why I’m posting this here. Hopefully someone could help me or if anybody has any ideas, I would appreciate it very much!
it’s been a while since you posted but I just ran into the same issue and found a solution. Maybe this can be of help for people encountering the same:
Take your bearer token, decode it on https://jwt.io/ and check the iss payload value. The issuer parameter that you use to set up your PyJWK client with has to match that value exactly. I was missing a / at the end of the string.
Hi cellador! Thanks for your reply. I’m not able to test your suggestion currently since we went for a custom implementation on our side but for a new project I will definitely try this