dylandoamaral / trakt-integration

A Trakt integration for Home Assistant compatible with upcoming media card
MIT License
30 stars 12 forks source link

Setting up integration fails on HA 2023.1.5 #62

Closed youngnick closed 1 year ago

youngnick commented 1 year ago

Hi,

I'm attempting to reinstall the Trakt integration on my system, but it seems to be failing at the oauth step.

I've just updated to the most recent release using HASS.

I go to do the install, add in my client id and client secret: image

and then get redirected to the trakt site: image

When I check the redirect_uri part of the URL, it looks like it's not autodetecting my redirect URL, as it's set to redirect_uri=https://my.home-assistant.io/redirect/oauth. Mine looks more like http://domainname:8123/auth/external/callback - it's internal to my network, which usually works because the oauth transaction is client-side.

Could you check that the lookup of the redirect URI from Trakt's setting is working please?

youngnick commented 1 year ago

Oh, I see there's another issue with 2023.1.5, I also tried this with one of the 2023.12 builds, and had the same problem. I updated HA to see if that would help.

youngnick commented 1 year ago

🤦 You've documented the workaround for this, my bad.