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

Unable to retrieve account details CORS Issue #61

Open canadaka opened 3 years ago

canadaka commented 3 years ago

I am unable to setup the plugin. When trying to configure my Trakt account using https://trakt-for-plex.github.io/configuration/ After getting a PIN and clicking "Sign-In" I get the red error message "Unable to retrieve account details".

If I look at my browser console log I see the following error.

Access to XMLHttpRequest at 'https://api-v2launch.trakt.tv/users/settings' from origin 'https://trakt-for-plex.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Which I think is the cause.