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

Token Refresh Intervall ist zu lang #36

Open
zapccu opened this issue May 25, 2023 · 2 comments
Open

Token Refresh Intervall ist zu lang #36

zapccu opened this issue May 25, 2023 · 2 comments

Comments

@zapccu
Copy link

zapccu commented May 25, 2023

Für das Token Refresh Intervall wird aktuell das Feld "expire_time" von der letzten Token Abfrage verwendet. Das kann dazu führen, dass Requests, die zum Zeitpunkt dieses Token Refreshs ausgeführt werden, dies ggf. mit einem abgelaufenen Tokens tun.

Daher sollte ein zeitlicher Puffer eingebaut werden, z.B.

(expire_time - 30) * 1000

@TA2k
Copy link
Contributor

TA2k commented May 25, 2023

Eigentlich haben die token ein wenig buffer aber ich habe es in der github version korrigiert

@zapccu
Copy link
Author

zapccu commented May 27, 2023

Danke! Ich sehe halt von Zeit zu Zeit Meldungen vom Adapter "Bearer Token expired". M.E. sind das genau die Fälle. Ich installiere die neue Version und beobachte es.

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