Hello everybody,
I currently have a React app that uses Auth0’s magic link authentication method using ‘auth0-js’.
Apart from this React app, I also have a server written in Node.js, which as far as I understand is not participating in the login-via-magic-link workflow (it’s just React <-> Auth0 interaction).
What I’m trying to achieve is to generate the magic link from my Node.js server because I want to send a login email upon schedule. I’ve been researching but it seems to me that this magic-link idea is designed to be initiated from client-side.
I’ve tested the auth.requestMagicLink method from the ‘auth’ library to generate such link from my server, but when the user access it and gets to the React app, the state
of the magic link does not match with the one stored in the user’s browser (which makes sense).
Could anyone confirm me if my impression around this is true and such scenario is not possible to achieve with Auth0?
Thanks in advance!