28
Authentication with phone number and otp code
Source: directus/directus#21293 · opened by @karamokoisrael
Summary I think it is going to be helpful to have a way to authenticate users with phone number and otp without the need of a password. Basic Example Maybe a local auth provider with no need for a password available in AuthenticationService. Motivation I was trying to implement an otp based authentication using a sms provider similar to twilio and I have noticed that I couldn't generate the jwt token using the provided AuthenticationService in API endpoint, because a password was required for local auth provider. Detailed Design We could have a custom otp based auth provider similar to local auth provider but taking an otp code instead of a password as a second parameter. Requirements List Must Have: • Possibility of login with otp + phone number or otp + email • A way to use a custom sms or mail transport while sending the otp to the user Should Have: • The token should be revocable by the default logout endpoint Could Have: • Out of t…
No pledges yet. Be the first to back this.
Comments
Similar requests
RFC for Magic sign-in link via email
88 votes · 0 comments
REST-API: Support reusing authentication from configured auth provider
9 votes · 0 comments
Enhance SSO Workflow for Cross-Domain Authentication
4 votes · 0 comments
Implementation of Passkeys Authentication in Directus for Enhanced Security
47 votes · 0 comments
Add row number in table view
6 votes · 0 comments
No comments yet.