Whenever I log in to my dash board (via. start.atlassian) and click on the "BitBucket" app/link, I am always redirected to the BitBucket official home page (bitbucket.org). From there, when I click on "Log In" on the top right, I will always end up with the page "We couldn't log you in".
I have disabled all extensions on my Chrome browser, delete cookies and history from all time. This issue still persists. I have tried this under both normal and incognito mode.
I can replicate this issue in Firefox and Vivaldi.
Using debug console and checking the traffic, I always notice a HTTP 400 response to a GET request: https://bitbucket.org/account/signin/?redirectCount=2&next=%2F.
There is request header content in the request, so I am sure that the refer header is not the issue.
Checking the response header, this seems to be the problem:
script-src 'unsafe-eval' 'strict-dynamic' 'unsafe-inline' 'self' http: https: https://d301sr5gafysq2.cloudfront.net 'nonce-guAybRltnM7z9DeO'; style-src 'self' 'unsafe-inline' https://aui-cdn.atlassian.com https://d301sr5gafysq2.cloudfront.net; report-uri https://web-security-reports.services.atlassian.com/csp-report/bb-website; default-src 'self' 'unsafe-inline' 'unsafe-eval' data: blob: *; connect-src bitbucket.org *.bitbucket.org bb-inf.net *.bb-inf.net id.atlassian.com analytics.atlassian.com as.atlassian.com api-private.stg.atlassian.com api-private.atlassian.com cofs.staging.public.atl-paas.net cofs.prod.public.atl-paas.net intake.opbeat.com api.media.atlassian.com api.segment.io xid.statuspage.io xid.atlassian.com xid.sourcetreeapp.com bam.nr-data.net bam-cell.nr-data.net sentry.io bqlf8qjztdtr.statuspage.io https://d301sr5gafysq2.cloudfront.net; object-src about:; base-uri 'self'
I am pulling my hair out.