The POST /environments/{envID}/flowDefinitions operation creates a new flow defintion resource in the specified environment. The request body for the POST specifies the EXPERIENCE trigger type in the trigger.type property. The completeFlow.configuration.result property is set to REDIRECT to redirect the browser back to the application when the registration flow is complete. The flo definition includes steps to prompt for the user’s login credentials and to then prompt for consent.