Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cannot make successful oAuth2 requests via http

Dan Wilson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 9, 2022

Hi, I am working on a bitbucket server/data center incoming application link.

I am developing locally so I have bitbucket server running in docker via http (http://localhost:7990) and my application (drone) running on my machine (http://localhost:8080)

Both bitbucket and drone are running fine - but when I hit the bitbucket oAuth2 authorize endpoint - I get a consent response of 400 code and the message - "Please ensure that your server is using HTTPS and that your application base URL is configured appropriately"

I have created a file inside the bitbucket server "shared" folder with the following properties


as per

is there something obvious I am doing wrong? base URL is set to "http://localhost:7990" which I believe is correct

application link redirect URL is "http://localhost:8080/login" which should be correct but to be honest it isn't even getting to the redirect stage - it seems to be failing due to the http req not being skipped

Bitbucket server version is 8.5.1 btw

Thanks in advance for your help :)

0 answers

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events