Skip to content

Commit d6973ae

Browse files
Minor updates
1 parent a517bc5 commit d6973ae

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

1-Authentication/1-sign-in/AppCreationScripts/Configure.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Function ConfigureApplications
169169

170170
# URL of the AAD application in the Azure portal
171171
# Future? $clientPortalUrl = "https://portal.azure.com/#@"+$tenantName+"/blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/Overview/appId/"+$currentAppId+"/objectId/"+$currentAppObjectId+"/isMSAApp/"
172-
$clientPortalUrl = "https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/CallAnAPI/appId/"+$currentAppId+"/objectId/"+$currentAppObjectId+"/isMSAApp/"
172+
$clientPortalUrl = "https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationMenuBlade/~/Overview/appId/"+$currentAppId+"/isMSAApp~/false"
173173

174174
Add-Content -Value "<tr><td>client</td><td>$currentAppId</td><td><a href='$clientPortalUrl'>ms-identity-javascript-c1s1</a></td></tr>" -Path createdApps.html
175175

1-Authentication/1-sign-in/AppCreationScripts/sample.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"Sample": {
3-
"Title": "Vanilla JavaScript single-page application using MSAL.js to authenticate users against Azure Active Directory",
3+
"Title": "Vanilla JavaScript single-page application using MSAL.js to authenticate users with Azure Active Directory",
44
"Level": 100,
55
"Client": "Vanilla JavaScript SPA",
6-
"RepositoryUrl": "https://github.com/Azure-Samples/ms-identity-javascript-tutorial",
6+
"RepositoryUrl": "ms-identity-javascript-tutorial",
77
"Endpoint": "AAD v2.0",
88
"Languages": ["javascript"],
9-
"Description": "Vanilla JavaScript single-page application using MSAL.js to authenticate users against Azure Active Directory",
10-
"Products": ["azure-active-directory", "msal-js", "msal-browser"]
9+
"Description": "Vanilla JavaScript single-page application using MSAL.js to authenticate users with Azure Active Directory",
10+
"Products": ["azure-active-directory", "msal-js", "msal-browser"],
11+
"Platform": "JavaScript"
1112
},
1213
"AADApps": [
1314
{

1-Authentication/1-sign-in/README.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
---
22
page_type: sample
3-
name: Vanilla JavaScript single-page application using MSAL.js to authenticate users against Azure Active Directory
4-
description: Vanilla JavaScript single-page application using MSAL.js to authenticate users against Azure Active Directory
3+
name: Vanilla JavaScript single-page application using MSAL.js to authenticate users with Azure Active Directory
4+
description: Vanilla JavaScript single-page application using MSAL.js to authenticate users with Azure Active Directory
55
languages:
66
- javascript
77
products:
88
- azure-active-directory
99
- msal-js
1010
- msal-browser
11-
urlFragment: https://github.com/Azure-Samples/ms-identity-javascript-tutorial
11+
urlFragment: ms-identity-javascript-tutorial
1212
extensions:
1313
- services: ms-identity
14-
- platform: DotNet
14+
- platform: JavaScript
1515
- endpoint: AAD v2.0
1616
- level: 100
1717
- client: Vanilla JavaScript SPA
1818
---
1919

20-
# Vanilla JavaScript single-page application using MSAL.js to authenticate users against Azure Active Directory
20+
# Vanilla JavaScript single-page application using MSAL.js to authenticate users with Azure Active Directory
2121

2222
* [Overview](#overview)
2323
* [Scenario](#scenario)
@@ -61,15 +61,16 @@ This sample demonstrates a Vanilla JavaScript single-page application (SPA) that
6161
* A modern web browser.
6262
* An **Azure AD** tenant. For more information, see: [How to get an Azure AD tenant](https://docs.microsoft.com/azure/active-directory/develop/test-setup-environment#get-a-test-tenant)
6363
* A user account in your **Azure AD** tenant.
64-
64+
>This sample will not work with a **personal Microsoft account**. If you're signed in to the [Azure portal](https://portal.azure.com) with a personal Microsoft account and have not created a user account in your directory before, you will need to create one before proceeding.
65+
6566
## Setup the sample
6667

6768
### Step 1: Clone or download this repository
6869

6970
From your shell or command line:
7071

7172
```console
72-
git clone https://github.com/Azure-Samples/https://github.com/Azure-Samples/ms-identity-javascript-tutorial.git
73+
git clone https://github.com/Azure-Samples/ms-identity-javascript-tutorial.git
7374
```
7475

7576
or download and extract the repository *.zip* file.
@@ -87,10 +88,10 @@ or download and extract the repository *.zip* file.
8788

8889
There is one project in this sample. To register it, you can:
8990

90-
* follow the steps below for manually register your apps
91-
* or use PowerShell scripts that:
92-
* **automatically** creates the Azure AD applications and related objects (passwords, permissions, dependencies) for you.
93-
* modify the projects' configuration files.
91+
- follow the steps below for manually register your apps
92+
- or use PowerShell scripts that:
93+
- **automatically** creates the Azure AD applications and related objects (passwords, permissions, dependencies) for you.
94+
- modify the projects' configuration files.
9495

9596
<details>
9697
<summary>Expand this section if you want to use this automation:</summary>
@@ -175,7 +176,7 @@ Were we successful in addressing your learning objective? Consider taking a mome
175176
<summary>Expand for troubleshooting info</summary>
176177

177178
Use [Stack Overflow](http://stackoverflow.com/questions/tagged/msal) to get support from the community. Ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
178-
Make sure that your questions or comments are tagged with [`azure-active-directory` `react` `ms-identity` `adal` `msal`].
179+
Make sure that your questions or comments are tagged with [`azure-active-directory` `ms-identity` `adal` `msal`].
179180

180181
</details>
181182

0 commit comments

Comments
 (0)