Auth0 Home Blog Docs

Error: Grant type 'http://auth0.com/oauth/grant-type/password-realm' not allowed for the client

password
login
403
grant-types
unauthorized_client

#1

I have a SPA client setup yesterday, and it worked fine this morning…
Suddenly, I started getting an error: Grant type 'http://auth0.com/oauth/grant-type/password-realm' not allowed for the client, when trying to login to the application.
Reviewing the console, I see a 403 error from the URL
%myclienthere%.auth0.com/oauth/token

Error: Unsuccessful HTTP response at c. (https://cdn.auth0.com/js/auth0/8.7/auth0.min.js:9:17330) at c.r.emit (https://cdn.auth0.com/js/auth0/8.7/auth0.min.js:10:4269) at XMLHttpRequest.e.onreadystatechange (https://cdn.auth0.com/js/auth0/8.7/auth0.min.js:9:22008)

I’m using a test environment and plain http, not https. Any idea what can be wrong?
Thanks!


#2

Please see the following post: https://community.auth0.com/questions/3944/error-grant-type-password-not-allowed-for-the-clie


#3

That worked. Thank you!


#4