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] Phone OTP step is shown twice during signup #3421

Closed joyzoursky closed 10 months ago

joyzoursky commented 10 months ago

Environment

Description

When the project is configured with Phone + Passwordless setup, when user signup with phone number, it then pops the WhatsApp OTP page, and after inputting the code, it shows another WhatsApp OTP page.

Also tried use SMS intead in the first step, and it also shows the WhatsApp OTP page again after filling in the SMS OTP.

Steps to reproduce

  1. Setup a project with Phone + Passwordless (with new authflow enabled)
  2. Authenticate on demo app
  3. Fill in new phone numer, click Sign up
  4. See WhatsApp OTP page, fill in the OTP
  5. See another WhatsApp OTP page

Expected result

It should only show one WhatsApp OTP page.

Screenshot

https://github.com/authgear/authgear-server/assets/12539486/8c6d9b03-de6e-44bc-b0fd-40c43752819b

joyzoursky commented 10 months ago

Retest passed.