Unable to login to admin with BitBucket

I am unable to login to /admin through our current website. On localhost I simply hit the “login with BitBucket” button and am brought to the admin page where I can view and edit articles. However, once the site is deployed to production at “www.***.com” the login with bitbucket no longer works.

I looked at the JavaScript console in the browser and received the following errors (on production only):

Failed to load resource: the server responded with a status of 403 () - https://api.bitbucket.org/2.0/user
Pausing requests for 1 second due to fetch failures: Cannot read properties of undefined (reading ‘match’)

I can only guess that this has something to do with permissions somewhere because the rest of the site works fine and the admin section works fine locally.

Can you share a screenshot of what you see when you attempt to login?

Hey @mcpdev,

Sorry for the delay. Netlify no longer owns the CMS: Introducing Decap CMS | Decap CMS | Open-Source Content Management System, so you can defer any of your issues there.