What we’re trying to achieve
We’re trying to make a single page application with a custom passwordless sign-up/login form. The application would be built in react.
We’re trying to use the Authentication API found here: https://auth0.com/docs/api/authentication. It works fine to initiate a passwordless flow using the
POST /passwordless/start endpoint.
However, when we try to authenticate the user, it always fails with the following error:
Grant type ‘http://auth0.com/oauth/grant-type/passwordless/otp’ not allowed for the client
According to this thread: Grant type 'http://auth0.com/oauth/grant-type/passwordless/otp' not allowed for the client. All I have to do is enable the Passwordless OTP grant. However, I tried doing that and I get the following errors
Error! Invalid grant types: http://auth0.com/oauth/grant-type/passwordless/otp