osdiab
April 14, 2020, 5:33am
1
Hello,
I’m working on a SPA and we wanted to use embedded passwordless login, but I ran into this closed thread:
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.
The problem
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-…
We’re going to try to reimplement our Auth0 implementation to use a regular flow, but is there a specific reason why this restriction exists? Kinda frustrating we need to redo our auth structure (again), so it would be nice to have a reason for the restriction.
1 Like
Hi @osdiab ,
I edited your title for clarity
I think it is actually possible to work around this. This thread shows to how get it working:
Yes that works! Choosing the regular web app type made it visible.
Thanks @nicolas_sabena for your help!
If you are curious on why we recommend universal login vs embedded, this doc talks about it:
If you want to give some feedback to our product team about your needs, we would love to hear more about your use-case.
Thanks! Let me know if you have questions.
Dan
system
Closed
July 13, 2020, 10:18pm
4
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.