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](https://help.magic.link/hs-fs/hubfs/Domain%20Mismatched%20Error.png?width=476&height=444&name=Domain%20Mismatched%20Error.png)