FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests