Skip to content

Commit 4d1e16f

Browse files
authored
Update quickstart steps for ready to run code sample
1 parent 7463c47 commit 4d1e16f

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

articles/active-directory/develop/quickstart-v2-javascript.md

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -77,30 +77,28 @@ In this quickstart, you use a code sample to learn how a JavaScript single-page
7777
> [Download the code sample]()
7878
7979
> [!div renderon="docs"]
80-
#### Step 3: Configure your JavaScript app
80+
> #### Step 3: Configure your JavaScript app
8181
8282
> [!div renderon="docs"]
8383
> In the *JavaScriptSPA* folder, edit *index.html*, and set the `clientID` and `authority` values under `msalConfig`.
84-
85-
```javascript
86-
var msalConfig = {
87-
auth: {
88-
clientId: "Enter_the_Application_Id_here",
89-
authority: "https://login.microsoftonline.com/Enter_the_Tenant_info_here",
90-
redirectURI: "http://localhost:30662/"
91-
},
92-
cache: {
93-
cacheLocation: "localStorage",
94-
storeAuthStateInCookie: true
95-
}
96-
};
84+
> ```javascript
85+
> var msalConfig = {
86+
> auth: {
87+
> clientId: "Enter_the_Application_Id_here",
88+
> authority: "https://login.microsoftonline.com/Enter_the_Tenant_info_here",
89+
> redirectURI: "http://localhost:30662/"
90+
> },
91+
> cache: {
92+
> cacheLocation: "localStorage",
93+
> storeAuthStateInCookie: true
94+
> }
95+
> };
9796
9897
```
9998
> [!div renderon="portal"]
10099
> > [!NOTE]
101100
> > This quickstart supports Enter_the_Supported_Account_Info_Here.
102101
103-
104102
> [!div renderon="docs"]
105103
>
106104
> Where:

0 commit comments

Comments
 (0)