Skip to content

Commit

Permalink
Remove 'vso.profile' from the default Visual Studio Online provider s…
Browse files Browse the repository at this point in the history
…copes

Automatically adding vso.profile as a scope will cause any VSTS applications to return error=InvalidScope if the vso.profile scope was implicit instead of explicit.
  • Loading branch information
pwiens authored and Kévin Chalet committed May 2, 2017
1 parent 2586974 commit 123639e
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ public VisualStudioAuthenticationOptions()
AuthorizationEndpoint = VisualStudioAuthenticationDefaults.AuthorizationEndpoint;
TokenEndpoint = VisualStudioAuthenticationDefaults.TokenEndpoint;
UserInformationEndpoint = VisualStudioAuthenticationDefaults.UserInformationEndpoint;

Scope.Add("vso.profile");
}
}
}
}

0 comments on commit 123639e

Please sign in to comment.