Skip to content

Conversation

@martinohansen
Copy link
Collaborator

The API returns an empty refresh token when a refresh call is made, causing subsequent calls to fail. This is fixed by updating the token with just the new access token and expiration time.

The API returns an empty refresh token when a refresh call is made,
causing subsequent calls to fail. This is fixed by updating the token
with just the new access token and expiration time.
@martinohansen
Copy link
Collaborator Author

martinohansen commented Dec 21, 2024

@frieser sorry for all the PRs... the timings of these keys make it a bit hard to debug properly. I managed to run this version in a loop refreshing tokens and getting new ones for a while without issues. I think this is the last fix :)

P.s. This version is also a bit simpler

@frieser frieser merged commit 4bd54a9 into frieser:main Dec 23, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants