TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET #66
-
I have already set up two users here: Options/Settings/Content Services/Content Services/Trakt When I try to use the new Environmental variables TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET, I get the error " error: (401 unauthorized): trakt api key for user 'USER' does not seem to work. Consider re-authorizing plex_debrid for this trakt user." How can utilise this new configuration and how it is connected with the already defined users in plex debrid ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET only allow you to define your own Trakt API App, vs. the hard-codded ones that itsToggle applied within the original plex_debrid code, which are linked to his Trakt account. See the original code here: https://github.com/itsToggle/plex_debrid/blob/main/content/services/trakt.py#L8 If not set, the default itsToggle keys will be used. Also, the TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET do not grant access to your private watchlists/collections — as is the case with Riven's implementation of Trakt — and the user will need to be authenticated with Trakt to create the API key, as previously performed with plex_debrid. Unfortunately, with this update, even if you use the default values, the users will need to be reauthenticated through the plex_debrid UI. There is a known issue with the logging function and the plex_debrid subprocess, but here's a guide to update the Trakt users: #67 |
Beta Was this translation helpful? Give feedback.
The TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET only allow you to define your own Trakt API App, vs. the hard-codded ones that itsToggle applied within the original plex_debrid code, which are linked to his Trakt account.
See the original code here: https://github.com/itsToggle/plex_debrid/blob/main/content/services/trakt.py#L8
If not set, the default itsToggle keys will be used.
Also, the TRAKT_CLIENT_ID and TRAKT_CLIENT_SECRET do not grant access to your private watchlists/collections — as is the case with Riven's implementation of Trakt — and the user will need to be authenticated with Trakt to create the API key, as previously performed with plex_debrid.
Unfortunately, with this update, e…