invidious_ynh
invidious_ynh copied to clipboard
Thumbnails not showing in external clients
Describe the bug
External clients such as Clipious or this Kodi addon currently cannot load thumbnails via the API if Invidious webclient is protected by SSOwat.
These clients work as expected if the Invidious webclient is accessible to visitors.
Context
Running the latest versions of YNH and the Invidious app on a VPS .
The Invidious webclient is only accessible behind SSOwat, the API allows access by and returns data to unregistered visitors.
host
and external_port
are set to "host.tld" and "443" in /var/www/invidious/config/config.yml
.
Steps to reproduce
Open incognito window Go to https://host.tld/api/v1/videos/dQw4w9WgXcQ (or any other video ID) API returns results without asking for a SSOwat login Try to open one of the thumbnail URIs, i.e. "https://host.tld/vi/dQw4w9WgXcQ/maxres.jpg" You are now looking at the SSOwat login page instead of the video thumbnail
Expected behavior
Thumbnail should load without getting redirected to SSOwat login page
Possible solution
Make https://host.tld/vi/* follow the configuration for https://host.tld/api/v1