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

switch to new tado authentication server #6

Open
elmi82 opened this issue Jan 30, 2019 · 5 comments
Open

switch to new tado authentication server #6

elmi82 opened this issue Jan 30, 2019 · 5 comments

Comments

@elmi82
Copy link

elmi82 commented Jan 30, 2019

tado is discontinuing the old OAuth2 endpoints at my.tado.com. Starting March 2019, authentication will require retrieving access and refresh tokens from auth.tado.com. The client public-api-preview can be used as is (with the same client secret) on the new endpoint.

The new authentication will also be a standard OAuth2 system, but will use JWT as a format for refresh tokens. So be aware that this will increase the size of the refresh tokens.

Additionally, the new endpoints implement refresh token rotation. A new refresh token is issued with every access token refresh response. The previous refresh token is invalidated.

@ekeih
Copy link

ekeih commented Feb 1, 2019

@elmi82 Thanks for sharing this! 👍

@wmalgadey
Copy link
Contributor

wmalgadey commented Mar 16, 2019

this is fixed in my fork now and uploaded to pyPi (python-tado 0.2.8)

@wmalgadey
Copy link
Contributor

I made a mistake to 0.2.8 and hat to replace it with 0.2.9

@wmalgadey
Copy link
Contributor

can be closed now, it is working!

chrism0dwk pushed a commit that referenced this issue May 6, 2019
Fix syntax for if statement
@michaelarnauts
Copy link

@chrism0dwk is this repository still maintained, or should the fork from @wmalgadey be used?

Home Assistant uses the one from @wmalgadey, since this repo was inactive at the time.

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

4 participants