vbBeforeEnter - navigating to Azure login or to a different flow in the application
I have an application with 5 flows in it and one flow is mapped as default flow from the shell page.
And also have unchecked the checkbox of from Require authenticated access, shell/settings/security/Require authenticated access. (Not to get the default IDCS login)
The requirement is as follows,
- Once user opens the app it should check for the authenticated user, if YES - then go the default flow given in the shell.
- If user is not authenticated then open URL with the Azure sign in page and once user sign's in then it will open the default page in the application.