How to add Azure AD Group-Based Auth to App with Auto-login



I want to add Azure AD authentication to my application with group-based access control. Also, I want to redirect all users to the authentication page directly when they visit the app. How can I do this?

Steps to reproduce

Expected behavior:

Redirect visitors to the login page when they visit the app and when they log in successfully, check their Azure AD groups and allow to see the content if they are assigned to allowed group on Streamlit app.

Actual behavior:


Debug info

  • Streamlit version: 1.25.0
  • Python version: 3.10
  • Using RHEL7.9 based development server.
  • OS version: RHEL7.9

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.