authgear-server
authgear-server copied to clipboard
Show error message if OTP is sent via WhatsApp but the API is not configured
Problem
In self deployment, the developers may not have configured an WhatsApp API in the server. However the default phone login is using WhatsApp, and it may take the developer some digging to understand why it's not working.
Solution
- [ ] In self-deployment, make the default phone otp verification method to "SMS only"
- [ ] In AuthUI, show an error message to the end-user when the API is not set up correctly if the user attempt an action which will cause a message to be sent via WhatsApp
WhatsApp API configuration is missing, please contact system admin.