I try to access the JIRA Rest API with basic auth.
But apperently it always wants an OAuth authentication and it seems like that it also requires the SSO cookies.
I would just like to make some localhost calls to my JIRA instance and basic auth would be the easiet way to do it.
I tried "?os_authType=basic" already, but none of my valid login credentials work ( Admin, dedicated auth user, .. )
If I do the same request in the same browser without basic, I can access it ( because of SSO )
Currently I just get an 401
Am I misunderstanding something here ? - Do I have to use SSO ? - and if so, how would I do it?
I could get already the session token via the crowd rest api. What would I do next?
OAuth seems too complex for this simple approach ( I mean it's a php script on the same, local server )
Thanks for any help
You can still use basic auth with the REST API, do not have to use OAuth just because you have SSO enabled. Just make sure you can do all the operations you are doing in the REST API by logging into JIRA using that same user.
An admin might not have all access in JIRA. For eg: creating issues might be restricted to a certain groups of users only.
Hi Everyone, Hope everyone had a great holiday season and is ready for an exciting 2019. We had our first AUG last night featuring Tempo Timesheets. A great presentation and lots of int...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs