authgear / authgear/authgear-server
[Portal, Wizard] If user selects to Disable 2FA in create project wizard, it should disable the 2FA options
- Dominant language
- Go
- Stars
- 2k
- Forks
- 125
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 32
Description
## Background
- Environment: Staging
- Test account: joyz+demo1@oursky.com
- Test project: smart-swallow-805 - https://smart-swallow-805.authgear-staging.com
## Description
When user creates a new project, on the wizard step 3/3 - setup 2FA, if user selects Disable 2FA, he/she should not need to select how user perform 2FA.
Suggest disabling the radio buttons in "how user perform 2FA" if user selects to "Disable 2FA".
Also when user enters the 2FA pages, the options are all selectable even when user has chosen to disable 2FA, which will be a bit confusing as there should be no effect no matter what he/she chooses.
## Steps to reproduce
1. Login to portal
2. Create a new project
3. Click Next on step 1 and 2 on the create wizard
4. On step 3 - setup 2FA, select "Custom settings"
5. For "Require 2FA to sign in?", select "Disable 2FA, users will never use 2FA to sign in"
6. User still needs to select "How should a user perform 2FA?" after that
## Expected result
When user selects "Disable 2FA, users will never use 2FA to sign in", disable the 2FA options below and in later pages.
## Screenshot
Contributor guide
Assessment
This issue has not been assessed yet.