Auth0 Home Blog Docs

Password Grant Error: Cannot read property 'scope' of undefined

resource-owner-passw

#1

When I try password grant either via postman or auth0 api debugger I get the error:

{
    "error": "access_denied",
    "error_description": "Cannot read property 'scope' of undefined"
}

#2

The most common cause for an access_denied error where the description indicates some sort of Javascript error is the use of a custom rule that is triggering that code error and as a consequence invalidating the authentication transaction.

Review your existing rules and update them in order to not cause error during the authentication transaction.


#3

Brilliant. That was it!


#4