Integration of sails with OTP login (no password)
I am developing my application using sails and I integrated it with passport using sails-generate-auth to use it for local strategy (username and password). I want to have a different OTP based login strategy and no password.
I am trying to integrate passwordless with sails and one of the steps is setting up the middleware
app.use(passwordless.sessionSupport());
app.use(passwordless.acceptToken({ successRedirect: '/'}));
How do I complete this step in Sails?
+3
source to share
No one has answered this question yet
Check out similar questions: