bwilczynski / strava-cli

Strava command-line interface
MIT License
31 stars 17 forks source link

resolve login issue #2

Closed mattf closed 4 years ago

mattf commented 4 years ago

issue manifests during 'strava login' as - oauthlib.oauth2.rfc6749.errors.MissingTokenError: (missing_token) Missing access token parameter.

the underlying message from the server is the error - {'message': 'Bad Request', 'errors': [{'resource': 'Application', 'field': 'client_id', 'code': 'invalid'}]}

the root cause appears to be that the client_id is not included in the access token request.

reproduced with requests==2.22.0, requests-oauthlib==1.3.0, oauthlib==3.1.0