The lead image for this article was generated by HackerNoon's AI Image Generator via the prompt "a high growth line chart"
Magic links, also known as passwordless logins or one-time links, have become an increasingly popular way to improve the user experience and increase security for various online applications and services.
This comes with some nice benefits, for example, you don’t need a separate sign up and login page and your users don’t need to remember a password to log in. However, past the obvious use case of logging users in, magic links can also be used in other areas of your product to provide a more seamless experience.
Here are five effective ways to use magic links in your products:
Imagine you are building a B2B SaaS product where your users can create and share analytics dashboards. One of your users creates a dashboard and then wants to share it with their coworker.
They click Share, enter the coworker’s email, and a link is sent. There’s two things that can happen:
The coworker is already logged in, so they can immediately see the dashboard
The coworker isn’t logged in, so they have to log in first before they can see anything
With magic links, we can do better! Instead of sending them a link to the dashboard, we can send them a magic link that logs them in and then redirects them to the dashboard.
Within PropelAuth, we provide APIs that you can use to generate your own magic links that redirect to custom locations after the user logs in. This is actually one of the most common use cases for that API.
Mobile authentication can be painful. Asking a user to type a complex password on a mobile device is a great way to make them annoyed before they even start using your product.
Social logins / SSO are one great option to reduce friction here, but magic links are another great option.
Let’s look at a product like PagerDuty, which is used to send alerts when issues arise. Most customers that are configuring PagerDuty are going to use their desktop to set up their on-call schedule, generate API keys, etc.
However, an important step in the process is setting up your phone, for use cases like adding PagerDuty’s phone numbers to the exceptions to your DND settings.
One simple way of moving your users over from the desktop to their mobile device is via a magic link. You can make this even easier by formatting that magic link as a QR code.
Waitlists are a great way to figure out if there’s a market for your product before your product is ready. One of the classic problems with waitlists, though, is there can be pretty high churn when you try to convert those waitlist users to real users.
To combat this, you should make the onboarding process as smooth as possible. Instead of sending a link asking them to create an account, why not just sent them a link that gives them instant access to the product?
Every funnel has drop off. The more things you ask your users to do, the more you will lose some percent of people along the way.
If you are building a product where your main source of revenue is paid content, like an online course, the most important step is to collect payment from your customers.
You can use a product like Stripe’s Payment Links to quickly generate a link to collect payments from your users. Right after they pay, you can send a magic link to their email, allowing them to get instant access with low friction. You can even set this up to happen automatically with a tool like Zapier or Pipedream, so you barely need to write any code.
While it may seem like magic links and passwords are at odds with one another, that isn’t entirely true. The experience of magic links is often… magical, but there are times where your users may not want them.
As one example, if you have a password manager, managing passwords isn’t that big of a deal. You go to your login page, wait a second, the form fills in automatically and you are logged in. This is contrasted with waiting for an email to show up before you can log in.
Your user base isn’t going to be made up of only one type of user, and understanding what they prefer is key to reducing churn.
Enter their email address
Wait for an email to show up
Click the link
Enter a new password for their account
Use that new password to log in
You probably noticed that up until step 3, the process is the same as a magic link, and then we just ask the user to do more work.
If you’ve been in this position before, sometimes you just want to click a button that says “I don’t want to make a new password, just let me log in” - and it turns out, that’s what a magic link is.
In PropelAuth, we host authentication UIs for our customers. If they enable both password and magic link support, we automatically provide both options on the Reset Password screen so your users can choose which option they prefer. Most commonly, users choose magic links over resetting their password.
At PropelAuth, we make it easy for you to add authentication and authorization to your products. Magic links are just one of the authentication options we support, and you don’t have to worry about setting up an email provider to use them. If you want to learn more, check us out here.
These five uses of magic links can help improve the user experience, increase security, and streamline various business processes. By using magic links, businesses can eliminate or reduce the need for passwords and other forms of authentication, making it easier for users to access and use their services.