It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Difference between OAuth and Basic Authentication and where these Auth comes to play in SSO ?


I am creating an web - app which uses rest-api to contact JIRA, I am using Basic Auth to authenticate with JIRA as of now,

Is it good to use basic auth for a web app which will be accessed by our clients from outside the network, or should I need to change to OAuth ? I just need to know the differences between both ?

We are thinking to use SSO for our products and I need to know how SSO and Auth types are related to both of them!

If some one can give a clear picture or links, that would be helpful, Thanks in advance!

2 answers

1 accepted

0 votes
Answer accepted

Hi Everyone,

OAuth is good than Basic Authentication,

Basic Authentication's Drawback is , it is not that much secure. your credentials can be hacked.

OAuth helps you in creating a secure passage for your access to JIRA, and it uses RSA encryption as part of its setup, So OAuth is preferred one!

For more info of setting up OAuth, there is a good tutorial over here.

This link over here will also give you an extra info reg Basic vs Oauth performance.

Will keep you posted reg sso and auth relation!


Hi Nitran, basic OAuth works based on tokens and authorization. You can use the credentials of an user to authorize your token and as long as this token is valid, you can use it to retrieve information from a given application.

You can see more details on how use OAuth with REST API in this doc:

I hope it helps.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Summit

Last chance: registration for Atlassian Open in Vienna ends soon!

Hello, Atlassian Community! The countdown is on for Atlassian Open in Vienna! Read on to discover the top 5 reasons to attend our biggest European event in 2019. At our inaugural Atlassian O...

22 views 0 3
Read article

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