authgear / authgear/authgear-server
[Login] Authentication steps do not follow Authenticator order
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
bug/major
**Describe the bug**
After the admin changes the Authenticator order on admin portal, the user will still log in with the previous steps.
**Authgear Version**
- Version: staging-2022-06-27.0
**To Reproduce**
Steps to reproduce the behavior:
1. Log in to admin portal
2. Select a project
3. Go to Authentication > Authenticators
4. Add 1 > Authenticator on Primary Authenticator / 2FA
5. Change the Authenticator order
6. Go to user portal > Sign in as account with selected authenticators
7. See the Authentication steps remain unchanged
**Expected behavior**
Authentication steps should follow the Authenticator order if the user has set up the selected authenticators
**Screenshots**
https://user-images.githubusercontent.com/93981572/176597452-96eb0bcf-13ed-4480-b171-bc697a074e1e.mp4
**Client Env:**
- Device: Chrome on win11
Contributor guide
Research direction
Reproduce the issue through the admin portal's Authentication > Authenticators settings, then sign in through the user portal with an account that has the selected authenticators. Trace where the configured order is read and compare it with the sign-in steps; done means the steps follow the changed order when those authenticators are set up.
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
- 25/100