Skip to content

Commit 936e701

Browse files
Merge pull request thunder-id#1287 from KaveeshaPiumini/passkey-bug-fix
Unify passkey authentication and registration flow graph handles
2 parents f9b0592 + 122b937 commit 936e701

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

backend/cmd/server/bootstrap/flows/authentication/auth_flow_passkey.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Passkey Only Authentication Flow",
3-
"handle": "passkey-authentication-flow",
3+
"handle": "default-passkey-flow",
44
"flowType": "AUTHENTICATION",
55
"nodes": [
66
{
@@ -65,8 +65,7 @@
6565
"executor": {
6666
"name": "IdentifyingExecutor"
6767
},
68-
"onSuccess": "passkey_challenge",
69-
"onFailure": "prompt_identifier"
68+
"onSuccess": "passkey_challenge"
7069
},
7170
{
7271
"id": "passkey_challenge",
@@ -79,8 +78,7 @@
7978
"name": "PasskeyAuthExecutor",
8079
"mode": "challenge"
8180
},
82-
"onSuccess": "passkey_verify",
83-
"onFailure": "prompt_identifier"
81+
"onSuccess": "passkey_verify"
8482
},
8583
{
8684
"id": "passkey_verify",
@@ -89,8 +87,7 @@
8987
"name": "PasskeyAuthExecutor",
9088
"mode": "verify"
9189
},
92-
"onSuccess": "auth_assert",
93-
"onFailure": "prompt_identifier"
90+
"onSuccess": "auth_assert"
9491
},
9592
{
9693
"id": "auth_assert",

backend/cmd/server/bootstrap/flows/registration/registration_flow_passkey.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Passkey Registration Flow",
33
"flowType": "REGISTRATION",
4-
"handle": "passkey_registration_flow",
4+
"handle": "default-passkey-flow",
55
"nodes": [
66
{
77
"id": "start",

0 commit comments

Comments
 (0)