-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悰 Bug Report: The Msg91 OTP isn't working after the 1.5 upgrade #7823
Comments
@rohankm, thanks for creating this! 馃檹馃徏 Looks like we need to:
MSG91 in the Messaging Providers is also broken. For that, we'll need to:
|
@stnguyen90 temporary i manually set the keys here
I logged the messages being sent and it's like this for Msg91 especially in India there are specific variables set which cannot be exceeded certain length here is the error message from Msg91
|
as a workaround for this i had to modify this line of code appwrite/app/controllers/api/account.php Line 2301 in f7e6d51
$message = $message->setParam('{{token}}', $secret);
|
Thanks for raising this! Looks like their FAQ says:
|
Some providers have a limit on the length of the content. For example, MSG91 has a 30 character limit and passing a longer value wil result in an error: DLT Template variable exceeded max length As such, we're going to change the content back to how we had it before 1.5 when were were only sending the code by itself until we decide on a better solution. Reference: * #7823 (comment)
馃憻 Reproduction steps
Hi,
I have set it up according to the docs https://appwrite.io/docs/advanced/self-hosting/sms
the OTP for login was working before the upgrade to 1.5
here are the appwrite-worker-messaging logs
馃憤 Expected behavior
it should send the otp
馃憥 Actual Behavior
馃幉 Appwrite version
Appwrite Cloud
馃捇 Operating system
Linux
馃П Your Environment
No response
馃憖 Have you spent some time to check if this issue has been raised before?
馃彚 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: