
Pagebuilder authenticate different authentication profiles
Hi there,
I am creating a Pagebuilder app that will be used as an installed PWA.
I now have two use cases.
Login for role 'end user'. After login redirect to main page for end user which is linked to auth. profile (A)
Login for role 'supervisor'. After login redirect to main page for supervisor which is linked to auth. profile (B)
Currently I have a separate login page and login flow for supervisor. But that wil not work using the app as installed PWA. Because that starts the app from root '/' which is basically the login page for the end user. I can't navigate to supervisor login and I don't want to expose the link to the supervisor login on the end user login.
So how can I use one login page for both user profiles and authenticate each with their own auth.profile and redirect them to their own 'environment' within the app.
Hi there,
I am creating a Pagebuilder app that will be used as an installed PWA.
I now have two use cases.
Login for role 'end user'. After login redirect to main page for end user which is linked to auth. profile (A)
Login for role 'supervisor'. After login redirect to main page for supervisor which is linked to auth. profile (B)
Currently I have a separate login page and login flow for supervisor. But that wil not work using the app as installed PWA. Because that starts the app from root '/' which is basically the login page for the end user. I can't navigate to supervisor login and I don't want to expose the link to the supervisor login on the end user login.
So how can I use one login page for both user profiles and authenticate each with their own auth.profile and redirect them to their own 'environment' within the app.
Login to reply