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

Refresh_Token not saved #7

Open
dmcxblue opened this issue Oct 11, 2024 · 0 comments
Open

Refresh_Token not saved #7

dmcxblue opened this issue Oct 11, 2024 · 0 comments

Comments

@dmcxblue
Copy link

Just a simple fix, It seems that the Access Token is requested twice when saving to the tokens.txt file

image

We just need to replace this line

    response = requests.post(token_url, data=token_data)
    refresh_token = response.json().get('refresh_token') <<<<<<<<
    access_token = response.json().get('access_token')
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

1 participant