jaroschek / home-assistant-myuplink

Custom Home Assistant integration for devices and sensors in myUplink account.
39 stars 8 forks source link

Myuplink error: Sorry, there was an error : unauthorized_client #49

Closed Matmarknaden closed 5 months ago

Matmarknaden commented 5 months ago

I have made an unsuccesfull reinstallation (removal and new installation) of "myuplink". Also removed old myuplink secrets and created new ones. However now not able to install the custom integration again, when authorization to api.myuplink.com I recieve "Error Sorry, there was an error : unauthorized_client". Assume the old client ID and secret still is used at authentification, cannot find where these are stored (no such thing in in configuration.yaml)

jaroschek commented 5 months ago

Please remove the stored application credentials for the integration to re-authorize the access to the myUplink api.

OAuth secrets are stored in application_credentials file inside .storage dir in your HA configuration directory. It could also be accessed by UI in Settings -> Devices & Services -> [3 Dots hamburger menu] -> Application Credentials. Uninstalling myUplink integration does not remove OAuth secrets so you won't be asked to provide them when reinstalling / reconfiguring integration.