---
title: "How to Enable Passwordless Login via Email in WordPress?"
url: https://nexterwp.com/docs/passwordless-login-via-email-in-wordpress/
date: 2023-03-04
modified: 2026-04-15
author: "Aditya Sharma"
description: "When it comes to website security, the more layers you can implement, the better protected your website and its users will be. One great way to upgrade your WordPress website's..."
image: https://nexterwp.com/wp-content/uploads/2024/05/passwordless-login-via-email-in-wordpress-1024x519.jpg
word_count: 380
---

# How to Enable Passwordless Login via Email in WordPress?

## Key Takeaways

- Nexter Blocks includes a Login & Signup block that enables passwordless login via email using a magic link.
- Users can customize the magic link text and email message in the Nexter Blocks Login & Signup block settings.
- SMTP setup is required for email features like passwordless login, and the Fluent SMTP Plugin can be used for this purpose.

When it comes to website security, the more layers you can implement, the better protected your website and its users will be. One great way to upgrade your WordPress website's security is to enable passwordless login via email. Passwordless login allows users to easily sign in to their accounts without needing to remember a unique password. This type of login also helps minimise the risk of unauthorised access, as users can simply enter their email addresses to log in quickly and securely.

With the Login & Signup block from Nexter Blocks, you can easily allow passwordless login by adding a magic link to your login form.

*To check the complete feature overview documentation of Nexter Blocks* Login & Signup block, [click here](/docs/login-signup-block-settings-overview/).

***Requirement  - This block is a part of Nexter Blocks*, make sure its installed & activated to enjoy all its powers.**

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/blocks/wordpress-login-form/)

To do this, add the block on the page, go to **Forms** > **Type** and select **Login** or **Login & Register**. 

Select the appropriate layout from the **Layout** section.

 

![](https://nexterwp.com/wp-content/uploads/2023/03/login-signup-login-type-new.png)

Once your form fields are ready, go to the **Login** tab and click the **+Add Field** button.

From the **Field** dropdown, select **Magic Link**.

From the **Content** field, you can customize the magic link text.

In the **Label** and **Placeholder** fields, you can add the label and placeholder texts, respectively.

In the **Button Text** field, you can add the button text.

Then from the **Custom Email** section, you can customize the email message that will be sent to the user. 

In the **Subject** field, you can add the email subject.

Then in the **Email Message** field, you can write the email message. Here you’ll have to use some shortcodes in the message.

- **[tpgb_sitename]** - For your website name.

- **[tpgb_username]** - For username.

- **[tpgb_link]** - For the magic link URL.

Finally, from the **Select Page** dropdown, you can select a specific page where users will be redirected after clicking on the magic link from their email.

> *Note: For any email related features such as Lost your password, Magic Link etc. you have to set up SMTP (Simple Mail Transfer Protocol) to send emails properly. You can use the free *[*Fluent SMTP Plugin*](https://wordpress.org/plugins/fluent-smtp)*.*

Also, read [How to Make Custom Password Reset Email in WordPress Login Form](https://nexterwp.com/docs/custom-password-reset-email-in-wordpress-login-form/).

## Frequently Asked Questions

**Q: What should I do if the magic link isn't sent to the user's email?**
A: If the magic link isn't sent, ensure that SMTP (Simple Mail Transfer Protocol) is properly set up to send emails. Using a plugin like Fluent SMTP can help resolve email delivery issues. Without SMTP configuration, email features like the magic link may fail, preventing users from logging in seamlessly.

**Q: What is the best practice for customizing the magic link email message?**
A: When customizing the magic link email message, use shortcodes like [tpgb_sitename] for your website name and [tpgb_link] for the magic link URL. This ensures that the email is personalized and functional. A well-crafted email can improve user engagement and trust, making it more likely that users will complete the login process.

**Q: Are there any limitations to using passwordless login via email?**
A: One limitation is that users must have access to their email accounts to log in, which may be an issue if they can't access their email for any reason. Additionally, if SMTP isn't configured correctly, email delivery can fail, preventing users from receiving the magic link needed for login.

**Q: How can I ensure that the passwordless login feature is secure?**
A: To enhance security for passwordless login, ensure that you have SMTP set up for reliable email delivery and consider implementing additional security measures like two-factor authentication. This adds another layer of protection, reducing the risk of unauthorized access while still allowing users the convenience of passwordless login.
