OAUTH ERROR - The requested redirect uri is malformed or doesn't match client redirect URI.
CM000n opened this issue · comments
Version of Home Assistant
0.111.2
Version of the custom_component
2.0.0
Configuration
Describe the bug
I installed the plugin via HACS. Every time I try to add it as an integration via the GUI, it wants to redirect me to Trakt Oauth authentication.
Trakt will always call http://172.20.0.9:8123/auth/external/callback as redirect_uri, no matter what I have specified as redirect_uri within Trakt for my app.
Since the 172.20.0.9 does not exist within my network, this of course leads to an error message and I cannot authenticate myself.
I don't know if this is a problem of the tract HA integration or tract itself.
Debug log
The latest version of HA introduced a new config option called 'Internal URL' under General. Make sure to enter your local HA address there.