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,300,857
Community Members
 
Community Events
165
Community Groups

Basic Auth JIRA's Rest API ( with SSO enabled)

We recently moved to JIRA Cloud, with SSO enabled via OneLogin.

Any attempt to authenticate, using an SSO account, via the REST API fails.  Our only work-around is to create an Internal JIRA account. 

I have seen several posts on this, but I have not seen a clear solution.  We want to avoid having to maintain these "special" accounts, just for running scripts.

1 answer

0 votes

Hi David,

Did you try generating an API token? You can create as many as you want and revoke them at any time. Please see:

https://confluence.atlassian.com/cloud/api-tokens-938839638.html

Claudiu

the API Tokens do work, however, the physical device being used to connect is not constant, and having everyone remember their own token is not workable

Hi David,

Have you find a solution for this? How to authenticate jira API with SSO enabled?

Veda, you need to generate the API token like Claidiu instructed, and use your SSO login (eg. firstname.lastname@example.com) as the username and the API token as the password.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you