authgear / authgear-server

Open source alternative to Auth0 / Firebase Auth
https://www.authgear.com
Apache License 2.0
81 stars 37 forks source link

[AuthUI] Promote Anonymous User flow missing button to let user choose SMS instead of WhatsApp OTP #3422

Closed joyzoursky closed 10 months ago

joyzoursky commented 10 months ago

Environment

Description

When the project is configured with Phone + Passwordless setup, with Anonymous user enabled, if the user triggers "Promote Anonymous User" flow, he/she should fill in phone number and input OTP. But on the WhatsApp OTP screen, the"Send OTP to SMS instead" button is missing in this flow.

Tried dark mode / light mode / android / ios demo apps.

Steps to reproduce

  1. Setup a project with Phone + Passwordless (with new authflow enabled)
  2. Authenticate as anonymous user on demo app
  3. Fill in new phone numer, click Sign up
  4. See WhatsApp OTP page, but the bottom "Send OTP to SMS instead" button is missing

Expected result

The button should also exists in promote anonymous user flow as in normal sign up flow, as long as the portal has configured to use WhatsApp or SMS OTP.

Screenshot

Left: Normal Sign up | Right: Promote Anonymous User

Portal:

Screenshot 2023-10-25 at 8 25 15 PM
louischan-oursky commented 10 months ago

Duplicate of https://github.com/authgear/authgear-server/issues/3412 Fixed in https://github.com/authgear/authgear-server/pull/3413

joyzoursky commented 10 months ago

Retest passed