8d4b92f732 | ||
---|---|---|
.gitignore | ||
.goreleaser.yml | ||
Makefile | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go | ||
sms.txt | ||
solsms.go |
README.md
Solutions Infini SMS provider for otpgateway.
This is a Provider plugin for otpgateway that sends SMSes using SolutionsInfini, an Indian SMS gateway.
Build
- Run
make build
to producesolsms.prov
Usage
- Add this configuration to otpgateway's config.toml
[provider.solsms]
subject = "Verification"
template = "static/sms.txt"
template_type = "text"
config = '{"APIKey": "YourSolutionsInfiniKey", "Sender": "YourID"}'
- Run
./otpgateway --prov solsms.prov