adrialcaide 2 Posted February 8, 2025 Posted February 8, 2025 Hello everyone, I wanted to bring to your attention an important update regarding the Trakt API. Starting March 4, 2025, the expiration period for access tokens will be reduced from 3 months to just 24 hours. I don't know if this change will directly impact the Trakt plugin for Emby, because maybe the expiration handling already takes the "expires_in" field into account. But if it doesn't, token handling will need to be adjusted to accommodate the shorter expiration period. I received this information via an email from Trakt. Here's the discussion link in case you are interested: https://github.com/trakt/api-help/discussions/495 Best regards, 1
Luke 42077 Posted February 8, 2025 Posted February 8, 2025 Hi, it should all just work, but we'll see what happens.
jayfizze 3 Posted March 21, 2025 Posted March 21, 2025 Trakt suggests setting the refresh token to 24 hours, following what they sent via email: 'Important API access_token updates': Starting on March 20, 2025, an OAuth access_token will expire in 24 hours, instead of 3 months. Since you've created a Trakt API app, we wanted to let you know directly. The emby plugin isn't working currently
adrialcaide 2 Posted March 21, 2025 Author Posted March 21, 2025 Yeah thanks @jayfizzefor the report. I haven't been able to test it myself today, but I will report with my findings later today. If the refresh time is hardcoded on the emby plugin, it will need fixing. I looked for the code on github but I believe it's not being publically released anymore. But in the code that's currently available, there's a 2 month refresh period hardcoded: https://github.com/MediaBrowser/trakt/blob/0431fbf4f4f66347ee16a959277111efb6594b44/Trakt/Api/TraktApi.cs#L1051
Luke 42077 Posted March 21, 2025 Posted March 21, 2025 50 minutes ago, adrialcaide said: Yeah thanks @jayfizzefor the report. I haven't been able to test it myself today, but I will report with my findings later today. If the refresh time is hardcoded on the emby plugin, it will need fixing. I looked for the code on github but I believe it's not being publically released anymore. But in the code that's currently available, there's a 2 month refresh period hardcoded: https://github.com/MediaBrowser/trakt/blob/0431fbf4f4f66347ee16a959277111efb6594b44/Trakt/Api/TraktApi.cs#L1051 Hi, it is not hardcoded anymore.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now