trakt-for-plex / configuration

trakt (for Plex) configuration interface
http://trakt-for-plex.github.io/configuration
GNU General Public License v3.0
75 stars 11 forks source link

Trakt token error, bad request link #73

Open AstroSpiff opened 8 months ago

AstroSpiff commented 8 months ago

Good evening, logging into accounts with trakt no longer works, it gives token error. The trakt requests link no longer works. The following link needs to be updated: https://api-v2launch.trakt.tv/oauth/token (no longer active)

zluckytraveler commented 5 months ago

Yup same here, can’t get it to work either. Do you know if there is a fork with the fix or something else we can do?

Deihmos commented 2 months ago

Did anyone find a solution? It can't be a difficult fix.

zluckytraveler commented 2 months ago

Did anyone find a solution? It can't be a difficult fix.

@Deihmos If you are really determined to resolve this issue and if you do not have any coding skills to do it yourself, you could just hire a Fiverr worker with coding skills to fork the repo and fix the code.

If you happen to do it, you should definitely share the repo with everyone else or at least me 😆

Deihmos commented 2 months ago

It is not that important to me. It was working fine until I decided to do a fresh install not realizing authentication no longer works. I just can't sync for multiple users anymore and that's ok. Maybe one day this will be fixed but I wouldn't hold my breath. It has been almost 10 years since it was last updated.

zluckytraveler commented 2 months ago

It’s not just syncing that no longer works. Adding any new users also doesn’t work either. So if by any chance you have to do a fresh reinstall you can’t add anyone back anymore nor add anyone new to your current install.

I’d suggest looking into PlexTraktSync instead, although not as ideal or easy to use for multiple users.

Deihmos commented 2 months ago

I was able to get this working. You can either use my fork, fork it yourself or download gh-pages from the source repo. There is just one line that needs editing to api.trakt.tv.

To get the token you need CORS unblock. Just turn it on when getting the token then you can turn off / remove after. Only needed to get the token.

http://deihmos.github.io/configuration https://chromewebstore.google.com/detail/cors-unblock/hadoojkfknbjgoppkecpgamiajljiief

karadoulis commented 2 months ago

I was able to get this working. You can either use my fork, fork it yourself or download gh-pages from the source repo. There is just one line that needs editing to api.trakt.tv.

To get the token you need CORS unblock. Just turn it on when getting the token then you can turn off / remove after. Only needed to get the token.

http://deihmos.github.io/configuration https://chromewebstore.google.com/detail/cors-unblock/hadoojkfknbjgoppkecpgamiajljiief

Tried it but it doesn't seem to work either. :/

Unable to find valid connection

rg9400 commented 2 months ago

I was able to get this working. You can either use my fork, fork it yourself or download gh-pages from the source repo. There is just one line that needs editing to api.trakt.tv.

To get the token you need CORS unblock. Just turn it on when getting the token then you can turn off / remove after. Only needed to get the token.

http://deihmos.github.io/configuration https://chromewebstore.google.com/detail/cors-unblock/hadoojkfknbjgoppkecpgamiajljiief

I'm actually unsure what change you've made. Seems like you've altered a part of the vendor JS?

Deihmos commented 2 months ago

I was able to get this working. You can either use my fork, fork it yourself or download gh-pages from the source repo. There is just one line that needs editing to api.trakt.tv. To get the token you need CORS unblock. Just turn it on when getting the token then you can turn off / remove after. Only needed to get the token. http://deihmos.github.io/configuration https://chromewebstore.google.com/detail/cors-unblock/hadoojkfknbjgoppkecpgamiajljiief

I'm actually unsure what change you've made. Seems like you've altered a part of the vendor JS?

All I did was update the link from "https://api-v2launch.trakt.tv" to "https://api.trakt.tv" in file vendor.8d369d42.js. Authentication will only work with CORS unblock. It worked fine for me. You can search for the following in the old code.

d="https://api-v2launch.trakt.tv",e="1.0.0";return

Deihmos commented 1 month ago

I have never had any issues using the trakt code in the app settings for single users. What I did is for the configuring multiple users which can't be done in the app settings on plex.