Announcements

Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

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

Type a product name