nordicopen / pyeasee

Easee EV charger API python library
MIT License
39 stars 11 forks source link

Move header update after token refresh #61

Closed olalid closed 2 years ago

olalid commented 2 years ago

When a token has expired a new token is requested with the token_refresh API. However, the request headers were not updated with the new token after the call. Also, a custom header is added to the login and token_refresh API calls.