Skip to content

Commit 20a5b0a

Browse files
authored
Use "read" as default scope for Strava (#443)
Based on https://developers.strava.com/docs/authentication/ there is no "public" scope for Strava.
1 parent 2d6ee5d commit 20a5b0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AspNet.Security.OAuth.Strava/StravaAuthenticationOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public StravaAuthenticationOptions()
2525
TokenEndpoint = StravaAuthenticationDefaults.TokenEndpoint;
2626
UserInformationEndpoint = StravaAuthenticationDefaults.UserInformationEndpoint;
2727

28-
Scope.Add("public");
28+
Scope.Add("read");
2929

3030
ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "id");
3131
ClaimActions.MapJsonKey(ClaimTypes.Name, "username");

0 commit comments

Comments
 (0)