Currently in the docs the sample value for the SMSOTP configurations are as follows:
SMS URL : https://api.twilio.com/2010-04-01/Accounts/AC34f40df03e20fb6498b3fcee256ebd3b/SMS/Messages.json
HTTP Headers : Authorization: Basic QUMzNGY0MGRmMDNlMjBmYjY0OThiM2ZjZWUyNTZlYmQzYjo1ZmFkM2VkYzg4YWM1NTNiMmFiZjc4 NWI1MmM4MWFkYg==
HTTP Payloads : Body=$ctx.msg&To=$ctx.num&From=+1 210-880-1806
HTTP Method : POST
But these are not working when we are running a CDS toolkit setup with IS 6.0 and AM 4.2.0.
@imesh94 has added his details as a reference in a google doc as follows but we cannot use them in the documentation space since they are his personal credentials, we need to look into a way to update these details in order for it to work as expected.
NOTE: I have used placeholders in place of the username and password in the above configuration, they must be replaced with actual values when providing in the documentation in the SMSOTP configuration sample section
Location : https://cds.ob.docs.wso2.com/en/latest/get-started/configure-sms-otp-authenticator/
Currently in the docs the sample value for the SMSOTP configurations are as follows: SMS URL : https://api.twilio.com/2010-04-01/Accounts/AC34f40df03e20fb6498b3fcee256ebd3b/SMS/Messages.json HTTP Headers : Authorization: Basic QUMzNGY0MGRmMDNlMjBmYjY0OThiM2ZjZWUyNTZlYmQzYjo1ZmFkM2VkYzg4YWM1NTNiMmFiZjc4 NWI1MmM4MWFkYg== HTTP Payloads : Body=$ctx.msg&To=$ctx.num&From=+1 210-880-1806 HTTP Method : POST
But these are not working when we are running a CDS toolkit setup with IS 6.0 and AM 4.2.0.
@imesh94 has added his details as a reference in a google doc as follows but we cannot use them in the documentation space since they are his personal credentials, we need to look into a way to update these details in order for it to work as expected.
SMS URL: https://bulksms.vsms.net/eapi/submission/send_sms/2/2.0?username=&password=&message=$ctx.msg&msisdn=$ctx.num
HTTP Method: POST
HTTP Headers: Content-Type: application/x-www-form-urlencoded
HTTP Response Code: 200
NOTE: I have used placeholders in place of the username and password in the above configuration, they must be replaced with actual values when providing in the documentation in the SMSOTP configuration sample section