Leveraging Entra OAuth Authentication within a Streamlit Web App

Mar 24, 20253,139 views6:23

In this video we'll walk through how to add Entra authentication to a Streamlit web app. We'll look at the setup process, from creating the app registration to configuring MSAL, and see how the code works in practice.

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