Skip to content

Commit b4f06a8

Browse files
Merge pull request #224888 from Dickson-Mwendia/msal-react-tutorial
Update React SPA tutorial
2 parents b16d1ea + 7df5093 commit b4f06a8

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

articles/active-directory/develop/msal-net-acquire-token-silently.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.custom: devx-track-csharp, aaddev, engagement-fy23
2020

2121
When you acquire an access token using the Microsoft Authentication Library for .NET (MSAL.NET), the token is cached. When the application needs a token, it should attempt to fetch it from the cache first.
2222

23-
You can monitor the source of the tokens by inspecting the `AuthenticationResult.AuthenticationResultMetadata.TokenSource` property
23+
You can monitor the source of the tokens by inspecting the `AuthenticationResult.AuthenticationResultMetadata.TokenSource` property.
2424

2525
## Websites and web APIs
2626

articles/active-directory/develop/tutorial-v2-react.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
title: "Tutorial: Create a React single-page app that uses auth code flow"
33
description: In this tutorial, you create a React SPA that can sign in users and use the auth code flow to obtain an access token from the Microsoft identity platform and call the Microsoft Graph API.
44
services: active-directory
5-
author: j-mantu
5+
author: Dickson-Mwendia
66
manager: CelesteDG
77
ms.service: active-directory
88
ms.subservice: develop
99
ms.topic: tutorial
1010
ms.workload: identity
11-
ms.date: 05/05/2022
12-
ms.author: jamesmantu
11+
ms.date: 01/24/2023
12+
ms.author: dmwendia
13+
ms.reviewer: jamesmantu
1314
ms.custom: aaddev, devx-track-js
1415
---
1516

@@ -66,7 +67,7 @@ Once you have [Node.js](https://nodejs.org/en/download/) installed, open up a te
6667
```console
6768
npx create-react-app msal-react-tutorial # Create a new React app
6869
cd msal-react-tutorial # Change to the app directory
69-
npm install @azure/msal-browser @azure/msal-react # Install the MSAL packages
70+
npm install @azure/msal-browser @azure/msal-react @azure/msal-common # Install the MSAL packages
7071
npm install react-bootstrap bootstrap # Install Bootstrap for styling
7172
```
7273

0 commit comments

Comments
 (0)