Advanced Features

Can I Allow Magic Link Login Only From Approved Email Domains?

Quick Answer

Domain Restriction lets you allow Magic Link requests only from approved email domains, such as company.com or school.edu.

What This Looks Like For A User

If a user logs in with an approved domain, they can continue normally.

If they use an unapproved domain, the request is blocked.

That makes the login flow feel focused and controlled instead of open to everyone.

Why You Might Want This

This feature is helpful when your site is built for a specific group of people.

It can help you:

  • Keep access private
  • Reduce spam login requests
  • Limit access to staff, members, or partners
  • Make the approval process easier to manage

Best Fit

This works well for:

  • Company portals
  • Employee dashboards
  • Private communities
  • Organization websites

Example

If company.com is allowed, then alex@company.com can request a Magic Link, but alex@gmail.com cannot.

Was this page helpful?

Previous
How Can I Redirect Users To A Specific Page After Magic Link Login?