we have been using Passwordless with Magic Link, using the /passwordless/start endpoint.
We would like to switch to the Code option (instead of Magic Link), but I see that the /passwordless/verify/ endpoint is disabled/deprecated. How should we use Passwordless with Code through API (so, not through the hosted page)?
Hi @n.bijl, I sent you a direct message in regards to a HAR file request to further investigate the 404 you are experiencing. When you get a chance can you give that a look. The documentation is not currently known to be out of date. If you feel something is missing please let us know so we can add it accordingly.
As far as the Passwordless/verify status question as shared in the linked topic by Lukerollans, below is the quoted answer to that.
i’m experiencing the 404 within the playground already, there the /passwordless/verify url is still used. So this is outdated…
If that URL is disabled, then how can we implement passwordless authentication? Please provide a playground where passwordless authentication is working or explain more about how to combine passwordless with the Application Grant Types.
Considering you have setup the passwordless connection you will receive an email.
Now make sure you setup ‘Default Directory’ under tenant settings, set this to “email” to use the email passwordless connection.
Also, enable the password grant type under your application settings -> Advanced -> Grant Types.
(read the warnings on this page!)
Now you can send the verification code to the following oauth endpoint:
“password”: “verification code”
Now we can continue implementing this in our app
Please add this to the documentation pages so the next guy can find it easily.
I’m happy to hear you got it handled @n.bijl and thank you for detailing steps to resolve the challenge. I will look into documenting this into a FAQ for future easy of use. Thanks again for your patience!