DEV Community

loading...

Discussion on: Implementing Passwordless Authentication in Node.JS

Collapse
darkwiiplayer profile image
DarkWiiPlayer

Not without some degree of back-end persistence, which I assume is the main reason it's not how what the article does. You'd need to create some sort of short-lived state in the back-end that gets cleared by opening a link in the email. The login-window could then just do polling, or use some more sophisticated method for waiting for the server to grant it access.

Forem Open with the Forem app