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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,354
Community Members
 
Community Events
184
Community Groups

Cannot make successful oAuth2 requests via http

Edited

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 bitbucket.properties file inside the bitbucket server "shared" folder with the following properties

atlassian.oauth2.provider.skip.base.url.https.requirement=true
atlassian.oauth2.provider.skip.redirect.url.https.requirement=true

as per https://confluence.atlassian.com/bitbucketserver0720/oauth-2-0-provider-system-properties-1116282016.html

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
TAGS
AUG Leaders

Atlassian Community Events