Skip to content

Improve auth handling#53

Open
jenshorn wants to merge 4 commits into
masterfrom
improve-auth
Open

Improve auth handling#53
jenshorn wants to merge 4 commits into
masterfrom
improve-auth

Conversation

@jenshorn

Copy link
Copy Markdown
Collaborator

Reduce the number of login requests by persisting the token for reuse on further API requests. The same token is re-used until expiration and then a new token is requested using the refresh token instead of user/pass.

Also improved respect of 429 with backoff implemented.

@mattiasclaesson mattiasclaesson left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this change requires your poetry PR first to be checked ok?

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.

3 participants