Announcements
The Spotify Community is in read-only mode while we move to a new platform. We expect to be back up and running October 6th. During this time you can read existing content but take no other actions. If you still need help, visit our Support Site or contact us.

Help Wizard

Step 1

NEXT STEP

React/NodeJS App Spotify Auth Refused to connect to 'https://stats.g.doubleclick.net/j/collect ... '

React/NodeJS App Spotify Auth Refused to connect to 'https://stats.g.doubleclick.net/j/collect ... '

Device

Windows PC

 

Operating System

Windows 10

 

Browser

Chrome

 

My Question or Issue

Hi!

 

Having an issue with Spotify Auth on my app.

https://aim-beats-game.herokuapp.com/

 

Getting the following error after clicking the login button.

 

Refused to connect to 'https://stats.g.doubleclick.net/j/collect?t=dc&aip=1&_r=3&v=1&_v=j96&tid=UA-5784146-31&cid=162188041...' because it violates the following Content Security Policy directive: "connect-src 'self' https://*.spotify.com https://www.google-analytics.com https://*.ingest.sentry.io/".

 

The app is connecting to a NodeJS server I built which is using PassportJS's Spotify strategy to handle auth. Not quite sure where to go from here.

 

Any help would be appreciated.

 

Thanks!

error.PNG
Reply
1 Reply

hi, i encountered the same problem did you resolve it ?

 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 5 years ago  in Social & Random