Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passwordless Authentication #987

Open
rochamarcelo opened this issue Mar 4, 2022 · 2 comments
Open

Passwordless Authentication #987

rochamarcelo opened this issue Mar 4, 2022 · 2 comments

Comments

@rochamarcelo
Copy link
Collaborator

Currently the login page requires to use password, it would be nice to have a way to authenticate without it.
Passwordless authentication can be implemented using E-mail Message, SMS, WebAuthn, Social (Already implemented).

With E-mail and SMS authentication we send a code to the user and a optional 'magic' link.
Basic flow:
-> User access login page
-> User type e-mail and submit
-> App send code to e-mail
-> User open e-mail and click the link or copy the code
-> App check token and authenticate user
-> User access home page.

Any thoughts?

@rochamarcelo
Copy link
Collaborator Author

Here is a nodejs implementation for reference https://github.com/florianheinemann/passwordless

@nuzulfikrie
Copy link

I was thinking of js. Listening to server sent event. On login attempt. If user with email is found. It will send out link. Js will update page to loading. On user click email link. Will clear out token.. Redirect user to home.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants