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

There was an authorization problem when users uncheck "View data about your private activities" #84

Open
dblock opened this issue Apr 16, 2020 · 2 comments

Comments

@dblock
Copy link
Owner

dblock commented Apr 16, 2020

image

cat strava-bot/web.00.log | grep -i "Authorization Error" | grep user_name | wc -l
36

cat strava-bot/web.00.log | grep -i "Authorization Error" | grep user_name | cut -f2 -d'=' | cut -f1 -d',' | sort | uniq | wc -l
12

when connecting to Strava we are asked for "share public activities" (mandatory) and "share private activities" (optional but pre-checked)

happens with share private activities unchecked

@dblock dblock added the bug? label Apr 16, 2020
@dblock dblock changed the title Persistent Authorization Errors from Strava Persistent Authorization Errors from Strava with private activities unchecked Apr 16, 2020
@dblock
Copy link
Owner Author

dblock commented Apr 17, 2020

We are asking for activity:read_all scope, but the user can uncheck the box that effectively allows that, revoking reading private activities. Then we call athleve_activities and Stava gets confused and fails with an access denied. Looks like a Strava bug.

https://groups.google.com/forum/#!topic/strava-api/ePwOlVNYUfY

@dblock dblock added confirmed bug and removed bug? labels Apr 17, 2020
@dblock
Copy link
Owner Author

dblock commented Apr 17, 2020

For now asking users to make sure to leave the "View data about your private activities" box checked when reconnecting their Strava accounts.

3fa9659

@dblock dblock changed the title Persistent Authorization Errors from Strava with private activities unchecked There was an authorization problem when users uncheck "View data about your private activities" Apr 17, 2020
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