Problem statement
Is it possible to obtain a magic link with the Management API without sending the email?
Symptoms
The /passwordless/start endpoint doesn’t allow skipping email parameter
Steps to reproduce
POST to /passwordless/start with body:
{
"client_id": "foo",
"client_secret": "bar",
"email": "foo@bar.com",
"connection": "email",
"send": "link"
}
Troubleshooting
Skipping the email parameter would result in an API error response. Email should be delivered.
Cause
The Passwordless Email connection always sends an email.
Solution
A possible workaround is that you can send all the passwordless emails to a self-email account and manage the magic links from that inbox.