trakt-tools / universal-trakt-scrobbler

MIT License
528 stars 51 forks source link

oAuth Fail #293

Open Enterpr1se opened 1 year ago

Enterpr1se commented 1 year ago

Expected Behavior

After login to trakt.tv, it will pass the OAuth step and begin to work

Current Behavior

It show:

OAuth error

The requested redirect uri is malformed or doesn't match client redirect URI.

Steps to Reproduce

Install the extension from firefox extension site or download the chrome.zip extract and open development mode if you use Google Chrome Login to Trakt.tv and type your username and password

Error will occur

Additional Information

badelie commented 1 year ago

I get the same error, although the extension works regardless.

rafaelgomesxyz commented 1 year ago

Please try with v0.2.1.

badelie commented 1 year ago

I still get the same error with v0.2.1

hrqmonteiro commented 1 year ago

Same error with 0.2.1 today:

Screenshot 2023-04-08 at 2 08 42 PM

On Chrome and Firefox.

rafaelgomesxyz commented 1 year ago

I just changed something that should fix it for Chrome. @badelie @hrqmonteiro Can you guys please test? There's no need to download another zip, the change I made was in the Trakt app settings, so it should just work.

As for Firefox, the auth window on Firefox shows the URL for me (it doesn't on Chrome). Does it do the same for you guys? If so, can you share the value of redirect_uri or let me know if it matches mine?

firefox_4bCwGTTJOw

badelie commented 1 year ago

Works correctly now @rafaelgomesxyz

While we are on the topic of Trakt login, might be a nice idea to allow the Trakt sign-in page to be able to interact with the user's password manager - for some reason I cannot get Chrome's or Bitwarden work, i.e. I have to go find the user/pass in a different chrome browser page and copy/paste to the sign-in page