authgear / authgear/authgear-server

Project creation wizard improvement for phone login

Open
#3,253 0 comments 0 reactions 0 assignees View on GitHub
cooldown/minor-feature
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

Continue from https://github.com/authgear/authgear-server/issues/3236

Now the phone messaging service is available for all plans including the free plan,
we should make the option available in the project creation wizard

![Image](https://user-images.githubusercontent.com/15207470/255655892-fead852f-43f5-4e89-b037-5a3d8e33ab7a.png)

In 1/3, If "Phone number and Password"/"Passwordless via phone number" is selected,
show a question below ask:

> How should a user receive OTP on their phone?
> - [ ] WhatsApp or SMS
> - [ ] WhatsApp Only
> - [ ] SMS Only

![Image](https://user-images.githubusercontent.com/15207470/255656889-61363817-1498-434f-8b62-613aa93dc66e.png)

In 3/3, if Email were chosen in step 1, in 2FA custom settings, Add:
- Receive One-Time-Password (OTP) via Phone

If this is chosen, ask on the same page

> How should a user receive OTP on their phone?
> - [ ] WhatsApp or SMS
> - [ ] WhatsApp Only
> - [ ] SMS Only

Contributor guide

Open the contributing guide

Research direction

Start with issue #3236 and the project creation wizard described here. Trace the step 1 phone-login choices and the step 3 email/2FA custom settings, then verify that the requested OTP delivery choices appear in the applicable paths and that the completed wizard reflects the selections.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.