Skip to content

Commit 7aca1c3

Browse files
authored andcommitted
added manifest changes to instructions
1 parent 86fa743 commit 7aca1c3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

JavascriptWebAppSample/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ git clone https://github.com/Microsoft/vsts-auth-samples.git
2525
2. On the top bar, click on your account and under the Directory list, choose the Active Directory tenant where you wish to register your application.
2626
3. On the left hand navigation menu, select `Azure Active Directory`.
2727
4. Click on `App registrations` and select `New application registration` from the top bar.
28-
5. Enter a `name` for you application, ex. "Adal JS sample", choose `Web app/API` for `application type`, and enter `http://localhost:8081` for the `Redirect URI`. Finally click `create` at the bottom of the screen.
28+
5. Enter a `name` for you application, ex. "Adal JS sample", choose `Web app/API` for `application type`, and enter `http://localhost:8081` for the `Sign-on URL`. Finally click `create` at the bottom of the screen.
2929
6. Save the `Application ID` from your new application registration. You will need it later in this sample.
30-
7. Grant permissions for VSTS. Click `Required permissions` -> `add` -> `1 Select an API` -> type in and select `Microsoft Visual Studio Team Services` -> check the box for `Delegated Permissions` -> click `Select` -> click `Done` -> click `Grant Permissions` -> click `Yes`.
30+
7. Grant permissions for VSTS. Click `Settings` -> `Required permissions` -> `add` -> `1 Select an API` -> type in and select `Microsoft Visual Studio Team Services (Microsoft.VisualStudio.Online)` -> check the box for `Delegated Permissions` -> click `Select` -> click `Done` -> click `Grant Permissions` -> click `Yes`.
31+
8. Click on `Manifest` -> set the value for `oauth2AllowImplicitFlow` to `true` -> click `Save`.
3132

3233
## Step 3: Run the sample
3334

0 commit comments

Comments
 (0)