authgear / authgear/authgear-server

Login requires OTP twice, when OTP authenticator is unverified

Open
#2,803 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2k
Forks
125
Avg merge
2d 17h
Merged PRs (30d)
32

Description

1. Setup Phone OTP as primary login method
2. Mark the phone as unverified in the Portal
3. Try login, and it requires OTP entry twice. Because 1st time is verify, 2nd time is login

Although this case is less likely to happen,
It will be nice if Authgear can combine 2 steps into one.

Contributor guide

Open the contributing guide

Research direction

Reproduce the login flow with Phone OTP as the primary method and the phone marked unverified in the Portal. Trace the verification and login steps to determine how they can be combined; done means an unverified phone requires only one OTP entry while preserving the normal login behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
authentication
Issue type
Bug
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.