Skip to content

Instantly share code, notes, and snippets.

@zamd
Last active October 11, 2017 03:36
Show Gist options
  • Save zamd/1d76aec669fd105c566847a559d07824 to your computer and use it in GitHub Desktop.
Save zamd/1d76aec669fd105c566847a559d07824 to your computer and use it in GitHub Desktop.
Custom sms gateway with auth0 - passwordless
{
"options": {
"strategy": "sms",
"provider": "sms_gateway",
"gateway_url": "http://requestb.in/wrls9twr",
"gateway_authentication": {
"method": "bearer",
"subject": "urn:Auth0",
"audience": "urn:MySmsGateway",
"secret": "shhhh"
},
"from": "Auth0",
"template": "Your verification code is: @@password@@",
"brute_force_protection": true,
"disable_signup": false,
"name": "sms",
"syntax": "md_with_macros",
"totp": {
"time_step": 300,
"length": 4
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment