chrisz / pyhusmow

Control your Husqvarna automower
GNU General Public License v3.0
59 stars 29 forks source link

Invalid IAM Token #25

Closed simlu closed 6 years ago

simlu commented 6 years ago

Old tokens seem to work fine, but when requesting a new one the token is no longer authorized for some reason? Getting a 401 on consecutive requests. Do we need to provide expected permissions when requesting the token?

Any help appreciated.

simlu commented 6 years ago

Oh... they started rejecting the refresh_token as auth token. So now you have to store both: the refresh token and the data id token.