"Content Security Policy: The page’s settings observed the loading of a resource at self.." error while importing yahoo contacts

1.7k Views Asked by At

I'm getting following error

Content Security Policy: The page’s settings observed the loading of a resource at self (“script-src https://api.login.yahoo.com  'unsafe-eval' https://*.yimg.com https://query.yahoo.com https://*.query.yahoo.com https://y.analytics.yahoo.com https://jsapi.login.yahoo.com https://fc.yahoo.com https://pr.comet.yahoo.com 'nonce-gT7EHsVyiyEgB2SwM6hLa7d2U1Q4mbpBxnCD7dLqtN/koiEp'”). A CSP report is being sent.
onclick attribute on BUTTON element

When I send get request to following link, Im basically opening following link in current browser tab. After logging in from yahoo I got above error.

https://api.login.yahoo.com/oauth2/request_auth?client_id=dj0yJmk9UDEzR0kxRzd3bHdIJmQ9WVdrOVpFdzFURmgyTkhVbWNHbzlNQS0tJnM9Y29uc3VtZXJzZWNyZXQmeD0yNw--&redirect_uri="mySite.com"&response_type=token&language=en-us

For details check this image

0

There are 0 best solutions below