The POST /environments/{environmentId}/flowDefinitions operation creates a new sign-on flow definition resource that includes a step to sign on using an external identity provider’s workflow. This flow definition includes flow definition steps to identify the external identity provider and delegate sign-on to the specified identity provider. In this example, if the user has a linked account, the flow can be completed successfully. If account linking is required, the flow terminates.