I’m following the demo for Connect for Bitbucket here: Getting started. On Step 7, when I try to register the app here Log in with Atlassian account, it tells me The add-on server returned invalid data. Please contact the add-on vendor for help. Here's the error we encountered - The content-type header was text/plain; charset=utf-8, but we expected application/json.
I’ve also tried changing the baseUrl attribute in atlassian-connect.json to my new ngrok URL, but this didn’t work.
Ok, I think we’re getting closer, but after I do this I still get the same error when I try to register the app. I get a 302 when the ngrok URL is used by itself, and I get a 404 when /atlassian-connect.json is appended.