Closed benthehorn closed 5 years ago
Cool! Nice find. That's actually very useful!
@benthehorn have you actually gotten this to work? The request does indeed return a new access token and refresh token but subsequent requests where you actually use that new access token seems to return a 401 for me.
Nevermind. You need to register the device id and log in the user after refreshing the access token and then it works.
Just for information, the refresh token can be used to get a new token, without needing username/password after the initial login. You just need to keep it refreshed before you reach the expiry time. `def refresh_token():