Leveraging Entra OAuth Authentication within a Streamlit Web App

Mar 24, 20253,079 views6:23

This video walks through the process of integrating Entra OAuth authentication into a Streamlit web application, covering steps from creating an Entra app registration to running the application and handling user consent. Viewers will see how to configure MSAL and explore the code behind the implementation.

Open in YouTube

Description

Using Entra authentication to provide an effective SSO strategy across all application experiences enhances user experience while providing a high level of security. This video is a a quick walk-through showing how to add Entra authentication to a Streamlit application. Shout out to Wilian Zilv, who published the open source dependency used in this demo/walk-through: https://github.com/WilianZilv/streamlit_msal This video is a walk-through demo of the this blog post, where you can find the code behind the video: https://robkerr.ai/streamlit-entra-authentication/ 0:00 Introduction 0:57 Create Entra App Registration 1:54 Configure MSAL 2:44 Run App 3:01 User Consent 3:45 JWT Output 4:42 streamlit_msal Codebase