Skip to content

Commit 123639e

Browse files
pwiensKévin Chalet
authored andcommitted
Remove 'vso.profile' from the default Visual Studio Online provider scopes
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.
1 parent 2586974 commit 123639e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/AspNet.Security.OAuth.VisualStudio/VisualStudioAuthenticationOptions.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ public VisualStudioAuthenticationOptions()
2525
AuthorizationEndpoint = VisualStudioAuthenticationDefaults.AuthorizationEndpoint;
2626
TokenEndpoint = VisualStudioAuthenticationDefaults.TokenEndpoint;
2727
UserInformationEndpoint = VisualStudioAuthenticationDefaults.UserInformationEndpoint;
28-
29-
Scope.Add("vso.profile");
3028
}
3129
}
32-
}
30+
}

0 commit comments

Comments
 (0)