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

Request new sas_token if connection fails #189

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

laurensk
Copy link
Contributor

It seems that Toshiba has expired the internal authorization tokens used by this integration. Currently, there is a flaw in the design of this integration which means that the token will never get renewed, even if it has expired.

This PR adds the ability for the integration to automatically renew and save new tokens and fixes this problem for good.

Fix for #188

@felixmueller
Copy link
Contributor

@laurensk
Thank you so much for the quick fix! I just copied your updated init.py file content to my instance in file editor and after restarting everything works fine again.
Hopefully, your pull request will be merged soon.

@h4de5 h4de5 merged commit 647c93c into h4de5:main Jun 11, 2024
3 checks passed
@h4de5
Copy link
Owner

h4de5 commented Jun 11, 2024

thank you very much for your contribution!

@felixmueller
Copy link
Contributor

@h4de5 Thanks for merging! Can you please publish a new release containing the fix so we can close issue #188? 🙏

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