Magic Link Code error


I am using Magic Link / E-mail passwordless login and everything is working well when I use multiple gmail accounts in testing.

I am initialising Auth0 as follows (I had to add useCookiesForTransactions={true} to actual authenticate the user when they clicked on the link in the email, otherwise I had to click on the Login button again to be authenticated):

    scope="read:current_user update:current_user_metadata"

But when I use a different email domain -, then the email is delivered and I click on the link but I get the following error:


I’ve seen similar posts in the past but they don’t appear to apply to my case.

Why would this be happening?

I’ve checked the logs and the email is correct so perhaps the code is incorrect, but why would it be working for gmail accounts but failing for another domain?

Thank you for your help