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

REST API authorization not working

I have a Bamboo server 8.0, it is installed on my own server.

I try to authorization in the REST API.

1. I generated a Personal access token in user settings.

2. Then I try to get https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues with the header "Authorization: Bearer {TOKEN}"

3. I got this message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}

The same situation when I try to use Basic auth

1. URL: https://{BAMBOO}/rest/api/latest/result/DUC-BDS-1526?expand=jiraIssues&os_authType=any

2. Header: Basic {base64 login:password}

3. The same error message: {"message":"Authentication anonymousUser has NO permissions to the domain object com.atlassian.bamboo.project.DefaultProject@10da5","status-code":403}

What am I doing wrong? I tried to install Bamboo 7.2, and I had the same problem.

1 answer

Sorry, I found the problem. My nginx removes all Authorization headers.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events