Question
EY
US
Last activity: 8 Sep 2018 10:30 EDT
Switch Users after login
Hi All
We have a requirement to switch the operator id in a flow. I will give a background of the requirement.
We have modified login screen to include 'create account' which invokes a flow to create an account. To achieve this we have created a auth service to authenticate a model user and invoking the flow to create account. After creating account using a flow, we need to display the user dashboard. Before displaying the dashboard I want to switch operator from the model user to the account that we creates using the flow so that the dashboard shows relevant information to the account operator that we created.
Please suggest some ideas on how to achieve this.
Thanks in advance