Hi, is it possible to login with phone number and ...
# ask-a-descoper
m
Hi, is it possible to login with phone number and pin. pin is 4 number. this pin has be validate also. trying to reuse authentication methods -> passwords with 4 characters. any way to reset the pin also. dont need the otp sms auth
r
Hi @mammoth-gigabyte-54303, You can define the phone number as the loginID and use a 4 numbers PIN as password. Who do you need to reset that password? the end user or you as the app owner?
m
it is end user. in password, can we restrict only numbers
s
right now, we don't have a password field (that you can place in flow) that forces only numbers, we can add if you need But can you elaborate on the use case ? might be that passkeys be a better solution for your need
m
Use case : 1, login with phone and pin. 2.If forget the pin, reset the pin with link send to phone number
is it possible the change 6 digit code to 4 digit code in 'Sign Up or In / OTP / SMS'
s
Currently this is not supported, but i would be very happy to chat about this, and better understand the usecase If you are up to it, please DM me, and I will send a zoom link
f
@mammoth-gigabyte-54303 I have some context on your application and I think phone OTP may be best or are you thinking about users sharing pin for some use cases?
m
@faint-musician-4508 will try with phone otp
s
@mammoth-gigabyte-54303 Great If you do need any help, want to consult, let us know