mxstbr / passport-magic-login

Passwordless authentication with magic links for Passport.js.
MIT License
664 stars 45 forks source link

Can clicking the link be skipped when creating a new account? #20

Open SachaG opened 2 years ago

SachaG commented 2 years ago

When someone needs to log back in to an existing account, it makes sense to ask them to click the magic link to prove they own an email.

However, when someone is creating a new account for the first time using a new email, it would be nice to have the option to log them in directly without requiring that extra step of actually clicking the magic link. Of course, the email address wouldn't be verified, but I think in some cases it can be worth it just for lowering the friction of creating an account?

Is there a way this can be accomplished currently, or could it maybe be added as an option?