Open landsverk opened 3 months ago
I have exactly the same problem. MYUplink was working fine for months in a row until last week when suddenly it failes to authenticate.
Logger: homeassistant.helpers.config_entry_oauth2_flow Source: helpers/config_entry_oauth2_flow.py:220 First occurred: 11:45:33 (4 occurrences) Last logged: 11:46:18
Token request for myuplink_xxx failed (invalid_grant): check authorization server configuration
I tried various even reinstall but the problem remains. I reverted back to the backup but the problem remains. It seems that the callback url which is described in the documentation (https://my.home-assistant.io/redirect/oauth) is not working.
Finally after various attempts removing and reinstalling MyUplink it works again. Still no clue what the cause of the sudden break was.
Same error for me.
For me, Myuplink integration has gone from unstable to not working at all. Earlier I just had to reload the integration about every one to two weeks, now it`s unable to get a new token to authorize.
I also get this error in the log files:
`Logger: homeassistant.helpers.config_entry_oauth2_flow Source: helpers/config_entry_oauth2_flow.py:220 First occurred: 11:54:07 (99 occurrences) Last logged: 13:54:34
Token request for myuplink_** failed (invalid_grant): check authorization server configuration`
As well as a warning:
StrEnum was used from myuplink, this is a deprecated alias which will be removed in HA Core 2025.5. Use enum.StrEnum instead, please report it to the author of the 'myuplink' custom integration