Trakt.tv API changes
Hi All,
Does anyone know if Serviio is affected by the changes to Trakt.tv API?
I am guessing we will find out after the 20th March
Does anyone know if Serviio is affected by the changes to Trakt.tv API?
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.
We originally emailed about this change on February 5, 2025 and this is just another reminder. If you're not an API developer, please ignore this email. It does not impact your Trakt experience.
Why are we reducing the expiration?
3 months is a long time and is a potential security risk if the access_token gets intercepted. We're instead going with a much lower 24 hours and relying on apps to automatically use the refresh_token more often to obtain a new access_token.
Do I need to update my app?
Probably not, since you should already be handling expired an access_token and refreshing it automatically. If you're hard coding a refresh interval, we suggest making that check dynamic and based on the expires_in value instead. If you aren't doing this, check out the Trakt API docs.
What about existing access tokens?
They should continue to work up until their expiration date. At that time, your app needs to refresh it and get a new access_token, then use the expires_in value so your app can dynamically handle when to refresh.
I am guessing we will find out after the 20th March
