hasura-auth
hasura-auth copied to clipboard
Implement SMS Templates for Auth
Currently the SMS that goes out says "Your code is 000000"
Ideally we are able to customize a template and insert the code as a variable:
Nhost - Here is your code: {{verification_code}}. Don't share it with anyone
To push things even further, you could even make Auth variables available for the templates:
{{first_name}}, here is your code: {{verification_code}}. Don't share it with anyone
I think we can have this as an environment variable: AUTH_SMS_TEMPLATE
.
I'll move this issue to Hasura Auth for now.
A AUTH_SMS_TEMPLATE
may be the quickest way forward, but we would miss translations. Eventually we will likely need to implement the same system as for email templates
Can I pick this up next days? I can implement the template approach.
Yes, definitely!