Closed adar2378 closed 1 year ago
I am trying to add OTPDevice but getting this error
OTPDevice
Endpoint: POST /api/v1/auth/otp-device/
POST /api/v1/auth/otp-device/
Payload:
{"type":"email"}
Not sending name as it should automatically use it from backend. Correct me if I am wrong.
name
I am not sure if the OTPDevice's name is a good idea to be used for requesting OTP. This flow looks ambiguous to me.
name should be email/phone
I am trying to add
OTPDevice
but getting this errorEndpoint:
POST /api/v1/auth/otp-device/
Payload:
Not sending
name
as it should automatically use it from backend. Correct me if I am wrong.I am not sure if the OTPDevice's
name
is a good idea to be used for requesting OTP. This flow looks ambiguous to me.