Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can star private segments without view_private scope #162

Open
danshannon opened this issue Apr 3, 2017 · 1 comment
Open

Can star private segments without view_private scope #162

danshannon opened this issue Apr 3, 2017 · 1 comment

Comments

@danshannon
Copy link
Owner

danshannon commented Apr 3, 2017

Using a token which does NOT have view_private scope

PUT https://www.strava.com/api/v3/segments/1190741/starred?starred=true

Returns 200 OK and a detailed representation of the segment

The segment is flagged as private and therefore should not be visible at all. Strava should return a 401 Unauthorized

@danshannon
Copy link
Owner Author

Same issue with:

HTTP PUT https://www.strava.com/api/v3/segments/8857183/starred?starred=true

Ignores the fact that the segment is flagged as private (and in this case belongs to another user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant