Auth0 Home Blog Docs

Invalid Token with Authorization API

authorization-extens
invalid_token

#1

I need to be able to access the Authroization Extension API in my Auth0 rules, and I believe I have to create a non-interactive client, login to generate a token, and use that token to access the API.

I have created a non-interactive client in Auth0, and granted the appropriate permissions for this client to access the auth0-authorization-extension-api. I then believe I am supposed to generate a bearer token from Auth0, which succeeds for me.

POST https://mydomain.auth0.com/oauth/token with the client payload information returns my token.

However, when I then attempt to use this token to access the authroization extension api, I get the a 401 Unauthorized message with the error Invalid Token. This token appears to be valid to me.

What else am I missing here?


#2

Having the same issue here,
I’m thinking it is an issue on Auth0 side since it suddenly stopped working for us


#3

There is an incident report which seems to be capturing this: https://auth0.statuspage.io/incidents/t7zjk21cck52

We have the same issue on the EU preview.


#4

Having the same issue here,
I’m thinking it is an issue on Auth0 side since it suddenly stopped working for us


#5

The issue is fixed now! Thank you very much for finding this!


#6