authgear-server icon indicating copy to clipboard operation
authgear-server copied to clipboard

Show error message if OTP is sent via WhatsApp but the API is not configured

Open fungc-io opened this issue 1 year ago • 0 comments

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.

fungc-io avatar Feb 26 '24 12:02 fungc-io