Streamlit authenticator redirect to different page

Hi, is there a streamlit authenticator or a way to redirect specific login to specific page.
Lets say i have user A and B.
User A logins and redirects to Page1 and does not see Page2 and user B logins to Page2 but does not see Page1 ?
Thank You.

Hi @BSDevo

I think you can use conditional statements to provide the desired routing of specific pages to different users based on some conditions.

Structuring your statements to a pseudo code could be something like:

if User A logins:
   Redirects to Page1
if User B logins:
   Redirects to Page2
   Displays the main page

You can transform this into the respective Python code to achieve this effect.

Hope this helps!

1 Like

Thank You i will try it.