Auth0 Home Blog Docs

Authentication token does't have scope

token
api
amagement-api

#1

I recently face in to this problem. Before this was working fine without any problem. I use to get the token using management API and then pass that token in the header with other API request like create users. But today i couldn’t do this. When I send the token, respond was insufficient scope for creating user. So I check the token in jwt.io and find out this token has no any scope definition. And the token I’m getting from the dashboard has all the scope definition. I’m little confused and i’m new to this auth0 api and all any help is highly appreciate. Thanks you


#2

I add a hooks and it’s working fine.I hope this is the correct way to do it


#3