Two factor authentication Plugin Contribution
-
Hi,
Need your contribution.
I want to create Two-factor Authentication plugin for WordPress by using the following API.You can check more details on https://sendotp.msg91.com/doc
The verification request is initiated by calling the generateOTP API directly from the client end. The OTP message is then sent on client’s mobile number.
Base URL: POST: https://sendotp.msg91.com/api/generateOTP
Header: application-Key (YOUR APPLICATION_KEY)
body
{
“countryCode”: “91”,
“mobileNumber”: “9898XXXXXX”,
“getGeneratedOTP”: true
}
_____________________
response
{
“status”: “success”,
“response”: {
“code” : “OTP_SENT_SUCCESSFULLY”,
“oneTimePassword” : “Your one time password.”
}
}
______________________API (Verify OTP)
Base URL POST: https://sendotp.msg91.com/api/verifyOTP
Header: application-Key (YOUR APPLICATION_KEY)
body
{
“countryCode”: “91”,
“mobileNumber”: “9898XXXXXX”,
“oneTimePassword”: “12345”
}
______________________
response
{
“status”: “success”,
“response”:{
“code”:”NUMBER_VERIFIED_SUCCESSFULLY”,
“refreshToken”:”Refresh token to check the validity later.”
}
}I am not a developer and I even don’t know how to create plugin. Please help.
- The topic ‘Two factor authentication Plugin Contribution’ is closed to new replies.