I am no longer able to link any Bitbucket Cloud repository to its SonarCloud counterpart. I was able to link a few then it stopped working where the login button briefly presents a popup that goes away and shows the same SonarCloud settings screen with a login button. Initially used Safari, then switched to Firefox once the error appeared, but unable to get past it.
The browsers console shows lots of Content Security Policy warnings and this error Content Security Policy: The page’s settings observed the loading of a resource at https://api.atlassian.com/flags/api/v1/frontend/featureFlagValues (“connect-src”). A CSP report is being sent.
- SonarCloud
- XHR GET https://sonarcloud.io/api/projects/search_my_projects?ps=500
[HTTP/1.1 401 117ms]
Response
JSON
errors [ {…} ]
0 Object { msg: “Authentication is required” }
msg “Authentication is required” - Bitbucket Cloud > [any repository] > Repository settings > SonarCloud settings > Login with Bitbucket
- No workaround