Auth Component: Workflows
The Auth Component could already run a single task as soon as a user connected a credential. Now it can start a whole workflow. Pass a workflowId in place of taskId, and the component connects the credential, starts the run, and keeps the user in the flow while the steps run.
Choose how long the user stays with closeAfterStep: just the login step, a step partway through, or the whole run. Steps after it keep running in the background and report through events.
MFA prompts and security questions on any step before the close step are answered right in the component, and the live view follows the run from step to step.
The credential the user logs in with is used on every step automatically. Use workflowInput to collect or pass input for each step, or to keep a different credential on a specific step.