node-authy icon indicating copy to clipboard operation
node-authy copied to clipboard

How send custom_message in phone verification.

Open junedShaikh297 opened this issue 4 years ago • 0 comments

authy .phones() .verification_start( phoneNumber, "1", { via: "sms", custom_message: "Your verification code for app name" }, function (err, result) { if (err) { response.error(err.message || err.errors.message); } else { response.success(result); } } );

Follow params that used in package.

Enabled 2FA Authentication by following this link:- https://github.com/twilio/authy-devise/issues/78 Still getting this response:- { message: "Phone verification couldn't be created: custom messages are not allowed.", success: false, errors: { message: "Phone verification couldn't be created: custom messages are not allowed." }, error_code: '60021' } need help!

junedShaikh297 avatar Jun 17 '20 12:06 junedShaikh297