Portal quickstart for React SPA
In this quickstart, you download and run a code sample that demonstrates how a React single-page application (SPA) can sign in users with Microsoft Entra ID for customers.
Make sure you've installed Node.js.
Unzip the sample app.
In your terminal, locate the sample app folder, then run the following commands:
cd SPA && npm install && npm start
Open your browser, visit
http://localhost:3000, select Sign-in, then follow the prompts.