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

access_token is dict now #2

Open
alexche8 opened this issue Dec 12, 2018 · 2 comments
Open

access_token is dict now #2

alexche8 opened this issue Dec 12, 2018 · 2 comments

Comments

@alexche8
Copy link

current_user.strava_token = access_token

There should be used something like
current_user.strava_token = access_token['access_token']
because strava returns dict not string

@bahatelos
Copy link

After spending a couple of days trying to figure out why the monolith was not working I finally decided to turn debug on and see what's happening. Strava is now returning a dictionary of the form:
{'access_token': 'xxx', 'refresh_token': 'yyy', 'expires_at': ddd}

Came here to raise the issue but @alexche8 has beat me to it :)

@bahatelos
Copy link

Created a pull request for it:
#3

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

No branches or pull requests

2 participants