You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2019. It is now read-only.
I'm using authentication-client and local strategy and socket.io like example code:
app.authenticate({
strategy: 'local',
email: 'my@email.com',
password: 'my-password'
}).then(() => {
// Logged in
}).catch(e => {
// Show login page (potentially with `e.message`)
console.error('Authentication error', e);
});
Expected
I would like to input some extra fields along with email/password (eg. captcha or openid to bind with the user) into authenticate() to send to server to authenticate or save to db, but it seems no mechanism for thar purpose.
How can I do this?
The text was updated successfully, but these errors were encountered:
I'm using authentication-client and local strategy and socket.io like example code:
Expected
I would like to input some extra fields along with email/password (eg. captcha or openid to bind with the user) into authenticate() to send to server to authenticate or save to db, but it seems no mechanism for thar purpose.
How can I do this?
The text was updated successfully, but these errors were encountered: