Are you using our SaaS platform (Baserow.io) or self-hosting Baserow?
Self-hosted
What do you need help with?
I have users with different roles. After login to the app, I want to redirect each user role to a different page. How can I implement this easily? I wonder why Baserow doesn’have this option in the ‘after login’ page.
I have not tested this, but perhaps you can use the “Custom URL” option at the bottom of the “Navigate To” drop down. Name some pages based on user roles and in the “Navigate To” option you can select the user’s role as part of the custom URL.
I use this table as the user source of my application.
In my application, I have a homepage which is the also the login page. I also have pages with the path /home-manager/home-user and home-client.
After logging in, I redirect the user to a custom url which is home- followed by his user role.
Can you please check that this solution doesn’t interfere with the Preview of the pages? On my app, PUBLISH works very well, but the PREVIEW keeps redirecting to the login page again and again.
This is probably because the pages require a login and the preview mode does not store an authenticated user. This might explain why preview mode redirects you to the login page again.