Skip to content
Back

[CLOSED] Using custom SMS providers

  • 1
  • Flutter
  • Web
  • General
  • Accounts
  • Self Hosted
anirudhisonline
5 Aug, 2023, 06:09

I am planning to build an app for my work which will primarily use Phone authentication using OTP. From what I have seen online and also check the docs, I came across this https://appwrite.io/docs/sms-delivery. The list of sms providers is very little and I checked their pricing which i quite expensive compared to other sms/otp providers.

Using them to scale the product will be quite expensive when other providers can be used. So here is my question, Is it possible to use other providers, are there any resources that will help me implement them. I was brainstorming some ways and one of them was using the cloud functions to use other api-s to send the otp which kinda would work to send the otp but where will I obtain the OTP.

Is there a work around or something. I really like appwrite and suggested using it as the backend. So How do I implement it. and give me any useful resources. Thank you

TL;DR
The user wants to know if it's possible to use custom SMS providers with Appwrite as the backend for their app. The user found the list of SMS providers in the documentation to be expensive and wants to explore other options. They are considering using cloud functions to send OTP but are unsure how to obtain the OTP. They are seeking resources and guidance on implementing other providers. The suggestion given is to create a feature request on GitHub and then create an adapter for the custom provider. No solution for obtaining the OTP is provided.
Drake
5 Aug, 2023, 08:34

Best to create a feature request on GitHub.

Then, an adapter would need to be created: https://github.com/utopia-php/messaging/blob/main/docs/add-new-adapter.md

anirudhisonline
5 Aug, 2023, 15:37

Thank you will check that out 😊

anirudhisonline
7 Aug, 2023, 07:50

Hey I checked out the link https://github.com/utopia-php/messaging/blob/main/docs/add-new-adapter.md and it seems quite simple to create a new adapter for utopia-php from the looks of it. But how do I use the adapter which I will create with appwrite... ? any ideas

Drake
7 Aug, 2023, 16:38

Appwrite would need to have a version bump to use the new utopia-php version. Then, we'd update some initiatlization in appwrite: https://github.com/appwrite/appwrite/blob/a7094310d7e7b6299976c7e2d51bdd825b1b570d/app/init.php#L1053-L1067

anirudhisonline
7 Aug, 2023, 16:42

Oh okay πŸ˜ŠπŸ‘

joeyouss
8 Aug, 2023, 10:10

[CLOSED] Using custom SMS providers

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more