Skip to content

Commit aad419f

Browse files
authored
Merge pull request #214138 from ShawnJackson/tutorial-v2-javascript-spa
edit pass: tutorial-v2-javascript-spa
2 parents 6cf9ff9 + 166f7a4 commit aad419f

File tree

2 files changed

+123
-112
lines changed

2 files changed

+123
-112
lines changed

articles/active-directory-b2c/enable-authentication-spa-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ The resources referenced by the *index.html* file are detailed in the following
109109
|[`ui.js`](https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa/blob/main/App/ui.js) | Controls the UI elements. |
110110
| | |
111111

112-
To render the SPA index file, in the *myApp* folder, create a file named *index.html*, which contains the following HTML snippet.
112+
To render the SPA index file, in the *myApp* folder, create a file named *index.html*, which contains the following HTML snippet:
113113

114114
```html
115115
<!DOCTYPE html>
@@ -221,7 +221,7 @@ To specify your Azure AD B2C user flows, do the following:
221221

222222
In this step, implement the methods to initialize the sign-in flow, API access token acquisition, and the sign-out methods.
223223

224-
For more information, see the [MSAL PublicClientApplication class reference](https://azuread.github.io/microsoft-authentication-library-for-js/ref/classes/_azure_msal_browser.publicclientapplication.html), and [Use the Microsoft Authentication Library (MSAL) to sign in the user](../active-directory/develop/tutorial-v2-javascript-spa.md#use-the-microsoft-authentication-library-msal-to-sign-in-the-user) articles.
224+
For more information, see the [MSAL PublicClientApplication class reference](https://azuread.github.io/microsoft-authentication-library-for-js/ref/classes/_azure_msal_browser.publicclientapplication.html), and [Use the Microsoft Authentication Library (MSAL) to sign in the user](../active-directory/develop/tutorial-v2-javascript-spa.md#use-the-msal-to-sign-in-the-user) articles.
225225

226226
To sign in the user, do the following:
227227

@@ -442,7 +442,7 @@ To call your web API by using the token you acquired, do the following:
442442

443443
## Step 10: Add the UI elements reference
444444

445-
The SPA app uses JavaScript to control the UI elements. For example, it displays the sign-in and sign-out buttons, and renders the users ID token claims to the screen.
445+
The SPA app uses JavaScript to control the UI elements. For example, it displays the sign-in and sign-out buttons, and renders the users' ID token claims to the screen.
446446
447447
To add the UI elements reference, do the following:
448448

0 commit comments

Comments
 (0)