Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Password-less Local Auth with Email / SMS #7
I kind of mimicked something like this in my own app where I create a wrapper service that handles auth requests in place of the token service provided by this repo. If the user is new or logging in, it redirects to an email login service (using passwordless) that handles the email and redirect workflow.
When the user clicks the email link, it attempts to authenticate again using the token in the email. This request is again sent to the wrapper but this time it forwards it to the token service. It isn't super pretty but it gets this done while still using JWT tokens as the primary logged in auth scheme.
Hope that helps.
See https://github.com/feathersjs/feathers-authentication-management. I haven't tried it yet but will next week. I believe it is very close to release. Feel free to give it a go and report any issues on that repo.
I'm going to close this as that is the going to be the repo for account confirmation, password reset, etc. going forward.
I created an example repo for doing passwordless auth with