Thomas55555 / husqvarna_automower

Custom component for Home Assistant to monitor and control your Husqvarna Automower
https://github.com/Thomas55555/husqvarna_automower
MIT License
105 stars 28 forks source link

Oauth not working #568

Open kyuzumaki opened 7 months ago

kyuzumaki commented 7 months ago

Describe the bug Adding the automower integration fails at oauth. It gives an error 500 internal server error.

Expected behavior Previously worked fine. Expected it to authenticate normally The log entry thats generated it this

Logger: homeassistant.helpers.config_entry_oauth2_flow Source: helpers/config_entry_oauth2_flow.py:211 First occurred: 8:11:49 (4 occurrences) Last logged: 8:16:35

Token request failed (invalid_client): Client or client secret is invalid

Running latest home assistant image 2024.1.16 in a docker container.

Thomas55555 commented 7 months ago

Have you checked your Client id or client secret? Maybe a trailing whitespace?

kyuzumaki commented 7 months ago

Yeah it all seems ok, cant see any extra spaces there. Is there any way to manually copy that info from the response url to the integration?