Skip to content

Commit

Permalink
fix: add otp form to reset credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
UnicornChance committed Jul 11, 2024
1 parent d6442c6 commit 9302e4d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
14 changes: 11 additions & 3 deletions src/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2354,27 +2354,35 @@
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "auth-otp-form",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 20,
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "reset-credential-email",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 20,
"priority": 30,
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "reset-password",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 30,
"priority": 40,
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "uds-group-restriction",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 40,
"priority": 41,
"userSetupAllowed": false,
"autheticatorFlow": false
}
Expand Down
16 changes: 12 additions & 4 deletions src/test/cypress/realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -2127,30 +2127,38 @@
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "auth-otp-form",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 20,
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "reset-credential-email",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 20,
"priority": 30,
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "reset-password",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 30,
"priority": 40,
"autheticatorFlow": false,
"userSetupAllowed": false
},
{
"authenticator": "uds-group-restriction",
"authenticatorFlow": false,
"requirement": "REQUIRED",
"priority": 40,
"priority": 41,
"userSetupAllowed": false,
"autheticatorFlow": false
}
}
]
},
{
Expand Down

0 comments on commit 9302e4d

Please sign in to comment.