If you're seeing an error like the one below, double check that the Redirect URI you're passing to loginWithMagicLink() has the same domain as your app or website. The redirectURI must have the same base domain as the URL that the request came from (meaning, a user logging into website.com cannot be redirected to website2.com).

For more information on how to use Magic with a Redirect URI, check out our documentation.

domain mismatched error
Was this article helpful?
Thank you!