Skip to content

Commit 1189ed4

Browse files
authored
Specify the correct secret to use in config
The current VSTS application settings page is very confusing and now has an "App Secret" and a "Client Secret". This demo only works if you use the Client Secret. If you use the "App Secret" you will get a 400 Bad Request when requesting the access token.
1 parent 91721ff commit 1189ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OAuthWebSample/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To learn more about OAuth in Visual Studio Team Services, see [Authorize access
1414
3. Open the solution (VstsOAuthSample.sln) in Visual Studio 2015 or later
1515
4. Update the following settings in web.config to match the values in the app you just registered:
1616
* App ID
17-
* App Secret
17+
* App Secret (use the "Client Secret" shown on the VSTS Application Settings page, not the App Secret)
1818
* Scope (space separated)
1919
* Callback URL
2020
5. Build the solution (this will trigger a NuGet package restore, which will pull in all dependencies of the project)

0 commit comments

Comments
 (0)