Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Handling User Auth for a SPA App on Azure
Many modern web applications use a SPA architecture: a single-page web app for the frontend and an API for the backend. In this talk, we'll discover how you can add user authentication to a SPA app using Microsoft Entra, using the MSAL.JS SDK on the frontend and the MSAL Python SDK on the backend. Learn how to set up Entra applications correctly, one for the client and one for the server, and how to use the on-behalf-of-flow on the server for handling tokens sent from the client. Our example application will be an AI RAG application with a React frontend and Python backend, but you can apply the same principles to any SPA applications that need user authentication. Part of our Reactor series on Securing AI Apps on Azure! https://aka.ms/S-1355 [eventID:23024]

Follow along using the transcript.

Microsoft Reactor

115K subscribers
Live chat replay is not available for this video.