mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
Merge pull request #549 from ctwelve/patch-1
Added config hint for SMS verification
This commit is contained in:
commit
7a38876594
@ -72,6 +72,20 @@ To use a more custom configuration, you can define a `matrix_ma1sd_configuration
|
|||||||
and put your configuration in it.
|
and put your configuration in it.
|
||||||
To learn more about how to do this, refer to the information about `matrix_ma1sd_configuration_extension_yaml` in the [default variables file](../roles/matrix-ma1sd/defaults/main.yml) of the ma1sd component.
|
To learn more about how to do this, refer to the information about `matrix_ma1sd_configuration_extension_yaml` in the [default variables file](../roles/matrix-ma1sd/defaults/main.yml) of the ma1sd component.
|
||||||
|
|
||||||
|
## Example: SMS verification
|
||||||
|
|
||||||
|
If your use case requires mobile verification, it is quite simple to integrate ma1sd with [Twilio](https://www.twilio.com/), an online telephony services gateway. Their prices are reasonable for low-volume projects and integration can be done with the following configuration:
|
||||||
|
|
||||||
|
```matrix_ma1sd_configuration_extension_yaml: |
|
||||||
|
threepid:
|
||||||
|
medium:
|
||||||
|
msisdn:
|
||||||
|
connectors:
|
||||||
|
twilio:
|
||||||
|
account_sid: '<secret-SID>'
|
||||||
|
auth_token: '<secret-token>'
|
||||||
|
number: '+<msisdn-number>'
|
||||||
|
```
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user