passwordlessWithEmail
with the user’s email, PasswordlessType.CODE
, and the name of the connection as parameters. On success, you may want to notify the user that their code is on the way, and perhaps route them to where they will input that code.
passwordlessWithSms
method to send the code using SMS.
loginWithEmail
method and pass in the user’s email, the code they received, and the name of the connection in question. Upon success, you receive a Credentials
object in the response.
loginWithSms
method to send the code received by SMS and authenticate the user.
The default scope used is openid profile email
.