Passwordless login

Users can use a one-time code instead of a password or follow a one-time link to log in to the application. The code or link can be sent via SMS or email. Code or link expires after 3 minutes.

The first time a user logs in to your application without a password, a new account is created automatically. You don’t have to implement additional logic for user sign-up.

Set up passwordless login

  1. Open your project in Publisher Account.
  2. Click Login in the side menu.
  3. Click Configure in the Login project pane.
  4. If classic login or social login are used in your Login project:
    1. Click Change Login method in the alert next to the Login method name.

    1. Choose Passwordless login.
    2. Click Save and set up. Previously saved settings will not be lost.
  1. Go to Passwordless login > Settings and select the type of passwordless login method you want to use.

  1. To send a one-time link with the code, enable magic links.
  2. Click Save changes.

Note
A phone number and/or email address form will be automatically added to the login widget after saving the changes.

Login via magic links is a type of passwordless login when a user logs in to an application by following a one-time link. Magic links are active on different devices: a user can enter a phone number and log in on a computer by following a link from SMS on their phone.

To enable magic links:

  1. Open your project in Publisher Account.
  2. Click Login in the side menu.
  3. Click Configure in the Login project pane.
  4. Go to the Passwordless login > Email settings section and set the Log in via magic link toggle to On.
  5. If needed, configure the email template:
    1. Go back to the navigation page of your Login project.
    2. Go to the Customization > Email customization section.
    3. In the drop-down list, select the Confirmation email (with link and code) template.
    4. Change email text. The magic link will be embedded in the {{.Link}} label.
    5. Click Save changes.
  6. If needed, configure the SMS template:
    1. Go back to the navigation page of your Login project.
    2. Go to the Customization > SMS customization section.
    3. Change SMS text in respective languages. The magic link will be embedded in the {{link}} label.
    4. Click Save changes.

To disable magic links, set the Log in via magic link toggle to Off. If needed, configure email and SMS template:

  • For emails, use the Confirmation email (with code) template.
  • When magic links are disabled, the {{link}} label is sent empty. If you change the SMS template when enabling magic links, make sure the text doesn’t include instructions to follow any links.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Rate this page
Rate this page
Is there anything we can improve?

Don’t want to answer

Thank you for your feedback!
Last updated: September 13, 2022

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!