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

self.token_info['exp'] never written #61

Open
kellergoech opened this issue Jun 22, 2022 · 1 comment
Open

self.token_info['exp'] never written #61

kellergoech opened this issue Jun 22, 2022 · 1 comment

Comments

@kellergoech
Copy link

Why is the self.token_info['exp'] variable never written? Shouldn't it be set to the timeout variable of the jwt Token + actual time on getting a new key? Otherwise it will update every second to a new key or am I wrong with that?

@Nolat
Copy link
Contributor

Nolat commented May 24, 2023

This is what is happening and it is a problem with the RestClientPE. At each refresh, the __load_configuration function of the RestClientBase class is called, resetting the controllers (replacing those imported from api_pe by api_ce).

I made a pull request (#121) to at least fix the problem of the refresh being done every second.

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