Skip to content

Commit

Permalink
Merge pull request #7 from GluuFederation/agama-lab-flow-designer
Browse files Browse the repository at this point in the history
fix(agama-lab-frontend): Migrate to new flow designer
  • Loading branch information
syntrydy authored Nov 29, 2024
2 parents 7a928ff + 4eac5f2 commit c8f53b3
Show file tree
Hide file tree
Showing 8 changed files with 3,202 additions and 5,156 deletions.
12 changes: 6 additions & 6 deletions code/org.gluu.agama.passkey.add.flow
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ Repeat 5 times max
// If there is an active registration flow, it will be canceled
obj.isAttestation = false
// Ends the flow by replying to the user's inum
it_talgd = {success:true, data: { userId: inum, response: nicknameTrigger }}
Finish it_talgd
it_satjm = {success:true, data: { userId: inum, response: nicknameTrigger }}
Finish it_satjm
When E is not null
// Show error with detail obtained from verify method
obj.isAttestation = false
Expand All @@ -43,8 +43,8 @@ Repeat 5 times max
obj.errorMessage = E.message
When addDeviceForm.cancelBtn is ""
// Ends the flow because the user cancels it
it_hivis = {success:false, error: "Cancel event"}
Finish it_hivis
it_ltlxb = {success:false, error: "Cancel event"}
Finish it_ltlxb
// Finish with error, because the limit of attempts was exceeded.
it_lkaku = {success:false, error: "Passkey registration attempt exceeded."}
Finish it_lkaku
it_qvsge = {success:false, error: "Passkey registration attempt exceeded."}
Finish it_qvsge
Loading

0 comments on commit c8f53b3

Please sign in to comment.