You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking into adding Signal support for an app that uses one-time-passwords (OTPs) sent to user's phone numbers to verify them.
I.e. the app is sending OTPs via SMS, WhatsApp message, phone call (with voice) etc.
For Signal support I would need to be able to send a text message with the OTP to a phone number that is not in my contacts.
Is this possible at all with the Signal API in general or the API exposed in this crate?
It seems the Signal clients themselves handle contact discovery behind the scenes, through the phone's contact list. I.e. there is no way to add a phone number to Signal inside the app itself. So I wonder if this is intentionally done this way by Signal (spam prevention) and what I want to do is not possible at all?
As a workaround: is it possible to send a request to a user to allow messages from that number?
It would mean sending an OTP is a two-step process but it would be better than not being able to offer this at all.
The text was updated successfully, but these errors were encountered:
virtualritz
changed the title
Sending a text message to a 'new' contact?
Sending a OTP text message to a 'new' contact?
Mar 28, 2024
This has been a missing feature of our stack for quite some time. I'm currently working on integrating the PNI system which should be the first step necessary to make this possible. I'll keep track of this issue and see what else needs to be done afterwards.
I'm looking into adding Signal support for an app that uses one-time-passwords (OTPs) sent to user's phone numbers to verify them.
I.e. the app is sending OTPs via SMS, WhatsApp message, phone call (with voice) etc.
For Signal support I would need to be able to send a text message with the OTP to a phone number that is not in my contacts.
Is this possible at all with the Signal API in general or the API exposed in this crate?
It seems the Signal clients themselves handle contact discovery behind the scenes, through the phone's contact list. I.e. there is no way to add a phone number to Signal inside the app itself. So I wonder if this is intentionally done this way by Signal (spam prevention) and what I want to do is not possible at all?
As a workaround: is it possible to send a request to a user to allow messages from that number?
It would mean sending an OTP is a two-step process but it would be better than not being able to offer this at all.
The text was updated successfully, but these errors were encountered: