{
  "contents": {
    "startTask": "1",
    "tasks": {
      "0": {
        "action": "logged-in",
        "id": "0",
        "name": "End",
        "next": {},
        "type": "automated",
        "view": {
          "x": 2208,
          "y": 84
        }
      },
      "1": {
        "allInputKeys": [
          "email"
        ],
        "calculatedInputKeys": true,
        "id": "1",
        "inputKeys": [
          "email"
        ],
        "inputsMetadata": [
          {
            "displayName": "Email Input",
            "key": "email"
          }
        ],
        "name": "Welcome",
        "next": {
          "rules": [
            {
              "interactionId": "Ppb_65tyyn",
              "taskId": "3"
            }
          ]
        },
        "screenId": "SC303nbtjLxvL0zBu3V1bVyVT3A8X",
        "type": "screen",
        "view": {
          "x": 276,
          "y": 240
        }
      },
      "3": {
        "conditions": [
          {
            "atomicConditions": [
              {
                "operator": "is-true",
                "predicate": {
                  "type": "inline",
                  "value": ""
                },
                "target": {
                  "type": "context",
                  "value": "unauthUser.password"
                }
              }
            ],
            "interactionId": "sgpmvlc91c",
            "name": "Yes"
          },
          {
            "atomicConditions": [
              {
                "operator": "not-empty",
                "predicate": {
                  "type": "inline",
                  "value": ""
                },
                "target": {
                  "type": "context",
                  "value": "unauthUser.loginIds"
                }
              }
            ],
            "interactionId": "lpsyp21z9de",
            "name": "Exists but no pw"
          },
          {
            "interactionId": "ELSE",
            "name": "Does not exist"
          }
        ],
        "id": "3",
        "name": "Does the user exist/have pw?",
        "next": {
          "rules": [
            {
              "interactionId": "sgpmvlc91c",
              "taskId": "4"
            },
            {
              "interactionId": "lpsyp21z9de",
              "taskId": "26"
            },
            {
              "interactionId": "ELSE",
              "taskId": "40"
            }
          ]
        },
        "type": "condition",
        "view": {
          "x": 756,
          "y": 228
        }
      },
      "4": {
        "id": "4",
        "inputsMetadata": [
          {
            "displayName": "Login Password",
            "key": "password"
          }
        ],
        "name": "Sign In",
        "next": {
          "rules": [
            {
              "interactionId": "pXVwWREG7M",
              "taskId": "6"
            }
          ]
        },
        "screenId": "SC303nbtPe3xMOY2zXzYKXePmoyF4",
        "type": "screen",
        "view": {
          "x": 1236,
          "y": 12
        }
      },
      "6": {
        "action": "password-sign-in",
        "errorHandlingV2": {
          "PasswordExpired": {
            "errorHandlingType": "custom"
          }
        },
        "id": "6",
        "name": "Sign In / Password",
        "next": {
          "rules": [
            {
              "interactionId": "success",
              "taskId": "0"
            }
          ]
        },
        "type": "automated",
        "view": {
          "x": 1728,
          "y": 12
        }
      },
      "25": {
        "action": "connector",
        "arguments": {
          "args": {
            "type": "inline",
            "value": [
              {
                "key": "endpoint",
                "type": "string",
                "value": "/tryLogin"
              },
              {
                "key": "timeout",
                "type": "number",
                "value": 3
              },
              {
                "key": "payload",
                "type": "string",
                "value": "{\n  \"usernameOrEmail\": \"{{form.email}}\",\n  \"password\": \"{{password}}\"\n}"
              }
            ]
          },
          "async": {
            "type": "inline",
            "value": false
          },
          "command": {
            "type": "inline",
            "value": "post"
          },
          "connectorId": {
            "type": "inline",
            "value": "CI303x5aoENyroe0B3L6iQGPg5Gwk"
          },
          "resultPath": {
            "type": "inline",
            "value": "cognitoResult"
          },
          "templateId": {
            "type": "inline",
            "value": "http"
          }
        },
        "errorHandlingV2": {
          "ConnectorFailed": {
            "errorHandlingType": "automatic"
          },
          "request_error": {
            "errorHandlingType": "ignore"
          }
        },
        "id": "25",
        "name": "Lambda to Cognito",
        "next": {
          "rules": [
            {
              "interactionId": "success",
              "taskId": "27"
            }
          ]
        },
        "type": "automated",
        "view": {
          "x": 1728,
          "y": 324
        }
      },
      "26": {
        "allInputKeys": [
          "password"
        ],
        "calculatedInputKeys": true,
        "clientScripts": [],
        "componentsConnectors": {},
        "dynamicSelects": {},
        "htmlTemplate": {
          "1sMmkeVxVT": {
            "custom": {},
            "displayName": "Error Message",
            "hidden": false,
            "isCanvas": false,
            "linkedNodes": {},
            "nodes": [],
            "parent": "ROOT",
            "props": {
              "align": "center",
              "data-type": "error-message",
              "full-width": false,
              "id": "1sMmkeVxVT",
              "italic": false,
              "link-target-blank": true,
              "mode": "error",
              "text-align": "center",
              "variant": "body1"
            },
            "type": {
              "resolvedName": "ErrorMessage"
            }
          },
          "IefAQME0pS": {
            "custom": {},
            "displayName": "Login Password",
            "hidden": false,
            "isCanvas": false,
            "linkedNodes": {},
            "nodes": [],
            "parent": "ROOT",
            "props": {
              "autocomplete": "current-password",
              "bordered": true,
              "data-errormessage-value-missing": "Please fill out this field.",
              "external-input": false,
              "full-width": true,
              "id": "IefAQME0pS",
              "label": "Password",
              "label-type": "static",
              "name": "password",
              "placeholder": "Password",
              "size": "md",
              "type": "password"
            },
            "type": {
              "resolvedName": "Password"
            }
          },
          "LmrSIGOWZb": {
            "custom": {},
            "displayName": "Text",
            "hidden": false,
            "isCanvas": false,
            "linkedNodes": {},
            "nodes": [],
            "parent": "ROOT",
            "props": {
              "align": "center",
              "children": "Input Cognito password\n\n",
              "full-width": false,
              "id": "LmrSIGOWZb",
              "isEnriched": true,
              "italic": false,
              "link-target-blank": true,
              "mode": "primary",
              "text-align": "center",
              "variant": "body1"
            },
            "type": {
              "resolvedName": "Text"
            }
          },
          "ROOT": {
            "custom": {},
            "displayName": "Container",
            "hidden": false,
            "isCanvas": true,
            "linkedNodes": {},
            "nodes": [
              "LmrSIGOWZb",
              "IefAQME0pS",
              "a8sO-nrMGp",
              "1sMmkeVxVT"
            ],
            "props": {
              "align": "center",
              "background": "",
              "data-editor-type": "container",
              "direction": "column",
              "id": "ROOT",
              "justify": "center",
              "paddingX": "4",
              "paddingY": "8",
              "space-between": "md",
              "spaceBetween": "4",
              "st-items-grow": 0,
              "width": "100%"
            },
            "type": {
              "resolvedName": "Container"
            }
          },
          "a8sO-nrMGp": {
            "custom": {
              "type": "button"
            },
            "displayName": "Button",
            "hidden": false,
            "isCanvas": false,
            "linkedNodes": {},
            "nodes": [],
            "parent": "ROOT",
            "props": {
              "children": "Continue",
              "color": "primary",
              "data-type": "button",
              "formNoValidate": false,
              "full-width": false,
              "id": "a8sO-nrMGp",
              "shape": "",
              "size": "md",
              "variant": "contained"
            },
            "type": {
              "resolvedName": "Button"
            }
          }
        },
        "id": "26",
        "inputsMetadata": [
          {
            "displayName": "Login Password",
            "key": "password"
          }
        ],
        "interactions": [
          {
            "id": "a8sO-nrMGp",
            "label": "Continue",
            "type": "button"
          }
        ],
        "name": "Cognito pw input",
        "next": {
          "rules": [
            {
              "interactionId": "a8sO-nrMGp",
              "taskId": "25"
            }
          ]
        },
        "recoveryCodesData": [],
        "screenId": "SC304392GYqNCyvz9NN4aY3ifrKWi",
        "type": "screen",
        "view": {
          "x": 1236,
          "y": 300
        }
      },
      "27": {
        "conditions": [
          {
            "atomicConditions": [
              {
                "operator": "is-true",
                "predicate": {
                  "type": "inline",
                  "value": "true"
                },
                "target": {
                  "type": "context",
                  "value": "connectors.cognitoResult.success"
                }
              }
            ],
            "interactionId": "nqebabm82b",
            "name": "Success"
          },
          {
            "errorHandling": {
              "errorHandlingType": "automatic"
            },
            "interactionId": "ELSE",
            "name": "Failure"
          }
        ],
        "id": "27",
        "name": "Successful sign in",
        "next": {
          "rules": [
            {
              "interactionId": "nqebabm82b",
              "taskId": "43"
            }
          ]
        },
        "type": "condition",
        "view": {
          "x": 2208,
          "y": 336
        }
      },
      "38": {
        "action": "logged-in",
        "arguments": {
          "externalTokenConnector": {
            "type": "inline",
            "value": ""
          },
          "oidcAnonymous": {
            "type": "inline",
            "value": ""
          },
          "refreshCookieName": {
            "type": "inline",
            "value": ""
          },
          "sessionCookieName": {
            "type": "inline",
            "value": ""
          }
        },
        "id": "38",
        "name": "End",
        "next": {},
        "type": "automated",
        "view": {
          "x": 3660,
          "y": 744
        }
      },
      "40": {
        "arguments": {
          "flowId": {
            "type": "inline",
            "value": "sign-up"
          }
        },
        "id": "40",
        "name": "Sign Up",
        "next": {
          "rules": [
            {
              "interactionId": "6.success",
              "taskId": "47"
            }
          ]
        },
        "type": "flow",
        "view": {
          "x": 1236,
          "y": 540
        }
      },
      "43": {
        "action": "sign-in-magic-link-email",
        "arguments": {
          "extraTemplateVals": {
            "type": "inline",
            "value": ""
          },
          "providerId": {
            "type": "inline",
            "value": ""
          },
          "skipVerify": {
            "type": "inline",
            "value": ""
          },
          "templateId": {
            "type": "inline",
            "value": ""
          },
          "uri": {
            "type": "inline",
            "value": ""
          },
          "verifyStepId": {
            "type": "inline",
            "value": "43.end"
          }
        },
        "id": "43",
        "name": "Sign In / Magic Link / Email",
        "next": {
          "rules": [
            {
              "interactionId": "success",
              "taskId": "44"
            },
            {
              "interactionId": "success",
              "taskId": "43.end"
            }
          ]
        },
        "type": "automated",
        "view": {
          "x": 2688,
          "y": 336
        }
      },
      "44": {
        "calculatedInputKeys": true,
        "contextKeys": [
          "sentTo.maskedEmail"
        ],
        "id": "44",
        "inputsMetadata": [],
        "name": "Magic Link Sent",
        "next": {
          "rules": [
            {
              "interactionId": "polling",
              "taskId": "45"
            },
            {
              "interactionId": "resend",
              "taskId": "43"
            }
          ]
        },
        "screenId": "SC30ERJXxrGQJeoBokQp6RYpJE2jE",
        "type": "screen",
        "view": {
          "x": 3180,
          "y": 300
        }
      },
      "45": {
        "calculatedInputKeys": true,
        "id": "45",
        "inputsMetadata": [],
        "name": "Verified Successfully",
        "next": {},
        "screenId": "SC30ERJQE5xUzqtfjsPr7FGeLuzEL",
        "type": "screen",
        "view": {
          "x": 3660,
          "y": 348
        }
      },
      "46": {
        "action": "password-update",
        "errorHandlingV2": {
          "PasswordUpdateFailed": {
            "errorHandlingType": "automatic"
          }
        },
        "id": "46",
        "name": "Update Password",
        "next": {
          "rules": [
            {
              "interactionId": "success",
              "taskId": "38"
            }
          ]
        },
        "type": "automated",
        "view": {
          "x": 3180,
          "y": 684
        }
      },
      "47": {
        "action": "logged-in",
        "arguments": {
          "externalTokenConnector": {
            "type": "inline",
            "value": ""
          },
          "oidcAnonymous": {
            "type": "inline",
            "value": ""
          },
          "refreshCookieName": {
            "type": "inline",
            "value": ""
          },
          "sessionCookieName": {
            "type": "inline",
            "value": ""
          }
        },
        "id": "47",
        "name": "End",
        "next": {},
        "type": "automated",
        "view": {
          "x": 1728,
          "y": 600
        }
      },
      "43.end": {
        "action": "verify-magic-link",
        "arguments": {
          "extraTemplateVals": {
            "type": "inline",
            "value": ""
          },
          "providerId": {
            "type": "inline",
            "value": ""
          },
          "skipVerify": {
            "type": "inline",
            "value": ""
          },
          "templateId": {
            "type": "inline",
            "value": ""
          },
          "uri": {
            "type": "inline",
            "value": ""
          },
          "verifyStepId": {
            "type": "inline",
            "value": "43.end"
          }
        },
        "id": "43.end",
        "name": "Sign In / Magic Link / Email",
        "next": {
          "rules": [
            {
              "interactionId": "success",
              "taskId": "46"
            }
          ]
        },
        "type": "automated",
        "view": {
          "x": 2688,
          "y": 336
        }
      },
      "start": {
        "id": "start",
        "name": "start",
        "next": {
          "rules": [
            {
              "taskId": "1"
            }
          ]
        },
        "view": {
          "x": 12,
          "y": 300
        }
      }
    }
  },
  "flowId": "sign-up-or-in-cognito-migration",
  "metadata": {
    "componentsVersion": "2.0.624",
    "description": "Sign up or in with passwords - automatically detect if user exists, and prompt for sign up or sign in accordingly.",
    "name": "Sign up or in - with Cognito Migration",
    "sharedInteractions": [
      {
        "id": "0.success",
        "type": "success"
      },
      {
        "id": "4.tZbr-2eP17",
        "label": "Forgot password"
      },
      {
        "id": "6.PasswordExpired",
        "label": "Password Expired",
        "type": "error"
      },
      {
        "id": "38.success",
        "type": "success"
      },
      {
        "id": "44.EbW8KMdjAx",
        "label": "Choose another authentication method"
      },
      {
        "icon": "error",
        "id": "44.polling-error",
        "label": "Polling Expired"
      },
      {
        "id": "47.success",
        "type": "success"
      }
    ]
  },
  "references": {
    "connectors": {
      "Cognito Migration Lambda function": "CI303x5aoENyroe0B3L6iQGPg5Gwk"
    }
  },
  "screens": [
    {
      "contents": {
        "1sMmkeVxVT": {
          "custom": {},
          "displayName": "Error Message",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "align": "center",
            "data-type": "error-message",
            "full-width": false,
            "hide-when-empty": true,
            "id": "1sMmkeVxVT",
            "italic": false,
            "mode": "error",
            "text-align": "center",
            "variant": "body1"
          },
          "type": {
            "resolvedName": "ErrorMessage"
          }
        },
        "A57M_E58gl": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "tZbr-2eP17"
          ],
          "parent": "f3fJe-t0g2",
          "props": {
            "align": "start",
            "background": "#ffffff00",
            "data-editor-type": "container",
            "direction": "row",
            "id": "A57M_E58gl",
            "justify": "start",
            "paddingX": "0",
            "paddingY": "0",
            "spaceBetween": "0",
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "LmrSIGOWZb": {
          "custom": {},
          "displayName": "Text",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "align": "center",
            "children": "Sign In",
            "data-errormessage-value-missing": "Please fill out this field.",
            "full-width": false,
            "id": "LmrSIGOWZb",
            "italic": false,
            "mode": "primary",
            "text-align": "center",
            "variant": "h2"
          },
          "type": {
            "resolvedName": "Text"
          }
        },
        "ROOT": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "LmrSIGOWZb",
            "f3fJe-t0g2",
            "1sMmkeVxVT"
          ],
          "props": {
            "align": "center",
            "background": "",
            "data-editor-type": "container",
            "direction": "column",
            "id": "ROOT",
            "justify": "center",
            "paddingX": "4",
            "paddingY": "8",
            "space-between": "md",
            "spaceBetween": "4",
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "ZjwRBQuJQW": {
          "custom": {},
          "displayName": "Login Password",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "f3fJe-t0g2",
          "props": {
            "autocomplete": "current-password",
            "bordered": true,
            "data-errormessage-value-missing": "Please fill out this field.",
            "full-width": true,
            "id": "ZjwRBQuJQW",
            "label": "Password",
            "label-type": "static",
            "name": "password",
            "placeholder": "Password",
            "size": "md",
            "type": "password"
          },
          "type": {
            "resolvedName": "Password"
          }
        },
        "f3fJe-t0g2": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "ZjwRBQuJQW",
            "A57M_E58gl",
            "pXVwWREG7M"
          ],
          "parent": "ROOT",
          "props": {
            "align": "start",
            "background": "#ffffff00",
            "data-editor-type": "container",
            "direction": "row",
            "id": "f3fJe-t0g2",
            "justify": "center",
            "paddingX": "4",
            "paddingY": "8",
            "spaceBetween": "0",
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "pXVwWREG7M": {
          "custom": {
            "type": "button"
          },
          "displayName": "Button",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "f3fJe-t0g2",
          "props": {
            "auto-submit": true,
            "children": "Continue",
            "color": "primary",
            "data-type": "button",
            "formNoValidate": false,
            "full-width": false,
            "id": "pXVwWREG7M",
            "shape": "",
            "size": "md",
            "variant": "contained"
          },
          "type": {
            "resolvedName": "Button"
          }
        },
        "tZbr-2eP17": {
          "custom": {
            "type": "button"
          },
          "displayName": "Button",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "A57M_E58gl",
          "props": {
            "auto-submit": false,
            "children": "Forgot password",
            "color": "primary",
            "data-type": "button",
            "formNoValidate": false,
            "full-width": false,
            "id": "tZbr-2eP17",
            "shape": "",
            "size": "md",
            "variant": "link"
          },
          "type": {
            "resolvedName": "Button"
          }
        }
      },
      "interactions": [
        {
          "id": "pXVwWREG7M",
          "label": "Continue"
        },
        {
          "id": "tZbr-2eP17",
          "label": "Forgot password"
        }
      ],
      "screenId": "SC303nbtPe3xMOY2zXzYKXePmoyF4"
    },
    {
      "contents": {
        "1sMmkeVxVT": {
          "custom": {},
          "displayName": "Error Message",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "WXF1NA21lw",
          "props": {
            "align": "center",
            "data-type": "error-message",
            "full-width": false,
            "hide-when-empty": true,
            "id": "1sMmkeVxVT",
            "italic": false,
            "mode": "error",
            "text-align": "center",
            "variant": "body1"
          },
          "type": {
            "resolvedName": "ErrorMessage"
          }
        },
        "4K9oqCreX9": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "LmrSIGOWZb"
          ],
          "parent": "ROOT",
          "props": {
            "align": "start",
            "background": "#ffffff00",
            "data-editor-type": "container",
            "direction": "row",
            "id": "4K9oqCreX9",
            "justify": "center",
            "paddingX": "1",
            "paddingY": "1",
            "spaceBetween": "4",
            "st-items-grow": 0,
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "EY3ApnQfqw": {
          "custom": {
            "type": "input"
          },
          "displayName": "Email Input",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "TyVEca3D2J",
          "props": {
            "bordered": true,
            "copy-to-clipboard": false,
            "data-errormessage-pattern-mismatch": "Must be a valid email",
            "data-errormessage-value-missing": "Please fill out this field.",
            "external-input": false,
            "full-width": true,
            "id": "EY3ApnQfqw",
            "label": "Email",
            "label-type": "static",
            "max": 100,
            "name": "email",
            "pattern": "^[\\w\\.\\%\\+\\-']+@[\\w\\.\\-]+\\.[A-Za-z]{2,}$",
            "placeholder": "Email",
            "required": false,
            "size": "md",
            "type": "email"
          },
          "type": {
            "resolvedName": "EmailInput"
          }
        },
        "LmrSIGOWZb": {
          "custom": {},
          "displayName": "Text",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "4K9oqCreX9",
          "props": {
            "align": "center",
            "children": "Welcome",
            "data-errormessage-value-missing": "Please fill out this field.",
            "full-width": false,
            "id": "LmrSIGOWZb",
            "isEnriched": true,
            "italic": false,
            "link-target-blank": true,
            "mode": "primary",
            "text-align": "center",
            "variant": "h2"
          },
          "type": {
            "resolvedName": "Text"
          }
        },
        "Ppb_65tyyn": {
          "custom": {
            "type": "button"
          },
          "displayName": "Button",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "WXF1NA21lw",
          "props": {
            "children": "Continue",
            "color": "primary",
            "data-type": "button",
            "formNoValidate": false,
            "full-width": true,
            "id": "Ppb_65tyyn",
            "shape": "",
            "size": "md",
            "variant": "contained"
          },
          "type": {
            "resolvedName": "Button"
          }
        },
        "ROOT": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "4K9oqCreX9",
            "TyVEca3D2J",
            "WXF1NA21lw"
          ],
          "props": {
            "align": "center",
            "background": "",
            "data-editor-type": "container",
            "direction": "column",
            "id": "ROOT",
            "justify": "center",
            "paddingX": "4",
            "paddingY": "8",
            "space-between": "md",
            "spaceBetween": "4",
            "st-items-grow": 0,
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "TyVEca3D2J": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "EY3ApnQfqw"
          ],
          "parent": "ROOT",
          "props": {
            "align": "start",
            "background": "#ffffff00",
            "data-editor-type": "container",
            "direction": "row",
            "id": "TyVEca3D2J",
            "justify": "center",
            "paddingX": "1",
            "paddingY": "1",
            "spaceBetween": "4",
            "st-items-grow": 0,
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "WXF1NA21lw": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "Ppb_65tyyn",
            "1sMmkeVxVT"
          ],
          "parent": "ROOT",
          "props": {
            "align": "center",
            "background": "#ffffff00",
            "data-editor-type": "container",
            "direction": "column",
            "id": "WXF1NA21lw",
            "justify": "start",
            "paddingX": "1",
            "paddingY": "1",
            "spaceBetween": "4",
            "st-items-grow": 0,
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        }
      },
      "interactions": [
        {
          "id": "Ppb_65tyyn",
          "label": "Continue"
        }
      ],
      "screenId": "SC303nbtjLxvL0zBu3V1bVyVT3A8X"
    },
    {
      "contents": {
        "1sMmkeVxVT": {
          "custom": {},
          "displayName": "Error Message",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "align": "center",
            "data-type": "error-message",
            "full-width": false,
            "id": "1sMmkeVxVT",
            "italic": false,
            "link-target-blank": true,
            "mode": "error",
            "text-align": "center",
            "variant": "body1"
          },
          "type": {
            "resolvedName": "ErrorMessage"
          }
        },
        "IefAQME0pS": {
          "custom": {},
          "displayName": "Login Password",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "autocomplete": "current-password",
            "bordered": true,
            "data-errormessage-value-missing": "Please fill out this field.",
            "external-input": false,
            "full-width": true,
            "id": "IefAQME0pS",
            "label": "Password",
            "label-type": "static",
            "name": "password",
            "placeholder": "Password",
            "size": "md",
            "type": "password"
          },
          "type": {
            "resolvedName": "Password"
          }
        },
        "LmrSIGOWZb": {
          "custom": {},
          "displayName": "Text",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "align": "center",
            "children": "Input Cognito password\n\n",
            "full-width": false,
            "id": "LmrSIGOWZb",
            "isEnriched": true,
            "italic": false,
            "link-target-blank": true,
            "mode": "primary",
            "text-align": "center",
            "variant": "body1"
          },
          "type": {
            "resolvedName": "Text"
          }
        },
        "ROOT": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "LmrSIGOWZb",
            "IefAQME0pS",
            "a8sO-nrMGp",
            "1sMmkeVxVT"
          ],
          "props": {
            "align": "center",
            "background": "",
            "data-editor-type": "container",
            "direction": "column",
            "id": "ROOT",
            "justify": "center",
            "paddingX": "4",
            "paddingY": "8",
            "space-between": "md",
            "spaceBetween": "4",
            "st-items-grow": 0,
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "a8sO-nrMGp": {
          "custom": {
            "type": "button"
          },
          "displayName": "Button",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "children": "Continue",
            "color": "primary",
            "data-type": "button",
            "formNoValidate": false,
            "full-width": false,
            "id": "a8sO-nrMGp",
            "shape": "",
            "size": "md",
            "variant": "contained"
          },
          "type": {
            "resolvedName": "Button"
          }
        }
      },
      "interactions": [
        {
          "id": "a8sO-nrMGp",
          "label": "Continue",
          "type": "button"
        }
      ],
      "screenId": "SC304392GYqNCyvz9NN4aY3ifrKWi"
    },
    {
      "contents": {
        "1sMmkeVxVT": {
          "custom": {},
          "displayName": "Error Message",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "color": "error",
            "data-type": "error-message",
            "full-width": false,
            "id": "1sMmkeVxVT",
            "italic": false,
            "text-align": "center",
            "variant": "body1"
          },
          "type": {
            "resolvedName": "ErrorMessage"
          }
        },
        "LmrSIGOWZb": {
          "custom": {},
          "displayName": "Text",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "children": "You're authenticated, you can close this window now",
            "full-width": false,
            "id": "LmrSIGOWZb",
            "italic": false,
            "mode": "primary",
            "text-align": "center",
            "variant": "subtitle1"
          },
          "type": {
            "resolvedName": "Text"
          }
        },
        "PUZgvFyUAB": {
          "custom": {},
          "displayName": "Image",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "alt": "Image",
            "height": "50px",
            "id": "PUZgvFyUAB",
            "src": "https://imgs.descope.com/flows/common/v1/green-checkmark.png"
          },
          "type": {
            "resolvedName": "Image"
          }
        },
        "ROOT": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "PUZgvFyUAB",
            "LmrSIGOWZb",
            "1sMmkeVxVT"
          ],
          "props": {
            "align": "center",
            "background": "",
            "data-editor-type": "container",
            "direction": "column",
            "id": "ROOT",
            "justify": "center",
            "paddingX": "4",
            "paddingY": "8",
            "spaceBetween": "4",
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        }
      },
      "screenId": "SC30ERJQE5xUzqtfjsPr7FGeLuzEL"
    },
    {
      "contents": {
        "EbW8KMdjAx": {
          "custom": {
            "type": "button"
          },
          "displayName": "Button",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "WzZtEzEpyY",
          "props": {
            "children": "Choose another authentication method",
            "data-type": "button",
            "formNoValidate": false,
            "full-width": true,
            "id": "EbW8KMdjAx",
            "mode": "primary",
            "size": "sm",
            "variant": "link"
          },
          "type": {
            "resolvedName": "Button"
          }
        },
        "LgBFKYoM2h": {
          "custom": {},
          "displayName": "Error Message",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "color": "error",
            "data-type": "error-message",
            "full-width": false,
            "id": "LgBFKYoM2h",
            "italic": false,
            "text-align": "center",
            "variant": "body1"
          },
          "type": {
            "resolvedName": "ErrorMessage"
          }
        },
        "R4ubbo8hKX": {
          "custom": {},
          "displayName": "Text",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "children": "Click the link in the email to continue",
            "full-width": false,
            "id": "R4ubbo8hKX",
            "italic": false,
            "mode": "primary",
            "text-align": "center",
            "variant": "subtitle2"
          },
          "type": {
            "resolvedName": "Text"
          }
        },
        "ROOT": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "hLL454bn-h",
            "R4ubbo8hKX",
            "lpP_khmMrA",
            "WzZtEzEpyY",
            "LgBFKYoM2h"
          ],
          "props": {
            "align": "center",
            "background": "",
            "data-editor-type": "container",
            "direction": "column",
            "id": "ROOT",
            "justify": "center",
            "paddingX": "4",
            "paddingY": "4",
            "spaceBetween": "5",
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "WzZtEzEpyY": {
          "custom": {},
          "displayName": "Container",
          "hidden": false,
          "isCanvas": true,
          "linkedNodes": {},
          "nodes": [
            "resend",
            "EbW8KMdjAx"
          ],
          "parent": "ROOT",
          "props": {
            "align": "center",
            "background": "",
            "data-editor-type": "container",
            "direction": "column",
            "id": "WzZtEzEpyY",
            "justify": "start",
            "paddingX": "4",
            "paddingY": "4",
            "spaceBetween": "1.5",
            "width": "100%"
          },
          "type": {
            "resolvedName": "Container"
          }
        },
        "hLL454bn-h": {
          "custom": {},
          "displayName": "Text",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "children": "We've sent a verification link to {{sentTo.maskedEmail}}",
            "full-width": false,
            "id": "hLL454bn-h",
            "italic": false,
            "mode": "primary",
            "text-align": "center",
            "variant": "subtitle1"
          },
          "type": {
            "resolvedName": "Text"
          }
        },
        "lpP_khmMrA": {
          "custom": {
            "type": "polling"
          },
          "displayName": "Polling",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "ROOT",
          "props": {
            "color": "primary",
            "data-type": "polling",
            "id": "lpP_khmMrA",
            "size": "md",
            "variant": "linear"
          },
          "type": {
            "resolvedName": "PollingLoader"
          }
        },
        "resend": {
          "custom": {
            "type": "button"
          },
          "displayName": "Button",
          "hidden": false,
          "isCanvas": false,
          "linkedNodes": {},
          "nodes": [],
          "parent": "WzZtEzEpyY",
          "props": {
            "children": "Send again",
            "data-type": "button",
            "formNoValidate": false,
            "full-width": true,
            "id": "resend",
            "mode": "primary",
            "size": "sm",
            "variant": "contained"
          },
          "type": {
            "resolvedName": "Button"
          }
        }
      },
      "interactions": [
        {
          "id": "EbW8KMdjAx",
          "label": "Choose another authentication method"
        },
        {
          "id": "polling",
          "label": "Polling"
        },
        {
          "icon": "error",
          "id": "polling-error",
          "label": "Polling Expired"
        },
        {
          "id": "resend",
          "label": "Send again"
        }
      ],
      "screenId": "SC30ERJXxrGQJeoBokQp6RYpJE2jE"
    }
  ]
}