Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira REST api getting 403 Forbidden

Chuck Youngfeldt September 19, 2018

Have read many forum threads and docs.  Still issue with Jira Rest using Basic Authentication.

Can not get past auth.

Am running Jira software server 7.3.8 with Onelogin for Oauth (with mfa) so I know I need to use an apitoken

Created api token

Have tried curl with 
 - u username:token 
  -u lower(username):token

  -H "Authorization: Basic <base64(username:token)>"
  -H "Authorization: Basic <base64(lower(username):token)>"

All result in 403 Forbidden.

So frustrating!   

Appreciate advice !

3 answers

0 votes
Eugene Kravtsov
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!
September 15, 2021

Hi Chuck,

As far as I understand, you may not use API Token for the Jira Server same like you point in the link above to Cloud documentation. You can use OAuth Token. And here you need an additional application, not just passing the parameters to curl.

See more details in Andy's reply: https://community.atlassian.com/t5/Jira-questions/How-to-authenticate-to-Jira-REST-API/qaq-p/814987#M336435

Best regards,

Eugene

0 votes
Chuck Youngfeldt September 19, 2018

Anyone?

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 19, 2018

Hello,

What do you mean by token? Do you mean password?

Chuck Youngfeldt September 19, 2018

No, I am using an API Token

Chuck Youngfeldt September 19, 2018

Anyone ??

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, team '25 europe, atlassian event, barcelona 2025, jira, confluence, atlassian intelligence, rovo, ai-powered collaboration, developer tools, agile teams, digital transformation, teamwork solutions, atlassian conference, product announcements

🌆 Team '25 Europe registration is now open!

Join the largest European gathering of the Atlassian Community and reimagine what’s possible when great teams and transformative technology come together. Plus, grab your Super Fan ticket now and save over €1,000 on your pass before prices rise on 3 June.

Register now
AUG Leaders

Atlassian Community Events