Does OAuth gives better performance than basic auth in Jira or Confluence?

I would like to know why someone would prefer to use OAuth instead of Basic Auth for connecting to JIRA and Confluence?

We all assume that the server is using HTTPS, so that's not about security.

I am interested especially about scalability on big instances that are using Crowd (with LDAP) and lots of users, over 10.000.

 

1 answer

1 vote

Hi Sorin,

I know that Oauth is better in terms of security than Trusted application and Basic auth, however in terms of performance I'm not so sure.

Check this article

Personally I've never noticed big differences between both. In fact there might be some differences in giant instances with hundred of thousand users and lots of spaces and contents might impose some seconds of difference. I couldn't find any doc for information though.

I'll leave this question open so maybe others might know any performance related information to share.

Cheers,

Rodrigo

Thank Rodrigo, I am trying to debug some slowness with Confluence (maybe JIRA too), which seems to be related to authentication. With the help of NewRelic I discovered the /rest/auth calls do take ~4000ms to run, and in some cases even 7000ms, which is far more than what I was hoping for (<0.5s).

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

764 views 2 19
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you