# How to use OAuth 2.0

**URL:** <https://community.postman.com/t/how-to-use-oauth-2-0/4396>\
**Category:** Help Hub\
**Created:** [March 7, 2019, 1:08pm UTC](https://community.postman.com/t/how-to-use-oauth-2-0/4396 "2019-03-07T13:08:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sugandha.singh](https://avatars.discourse-cdn.com/v4/letter/s/2acd7d/32.png) [@sugandha.singh](https://community.postman.com/u/sugandha.singh)\
**Post date:** [March 7, 2019, 1:08pm UTC](https://community.postman.com/t/how-to-use-oauth-2-0/4396/1 "2019-03-07T13:08:40Z")

</div>

I have written JIRA api in postman to create JIRA tasks using Basic Authentication.  
Now I am trying to do the same thing using OAuth 2.0  
I was going through the learning docs present online for understanding rest api but not able do it practically.

Basically my requirement is Creating JIRA tickets via rest API using OAuth 2.0

---

<div class="post-metadata">

**Author:** ![Whersh](https://avatars.discourse-cdn.com/v4/letter/w/9d8465/32.png) [@Whersh](https://community.postman.com/u/Whersh)\
**Post date:** [April 8, 2019, 6:27pm UTC](https://community.postman.com/t/how-to-use-oauth-2-0/4396/2 "2019-04-08T18:27:10Z")

</div>

[https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/?\_ga=2.41964133.1555367096.1554747885-75177244.1542289228](https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/?_ga=2.41964133.1555367096.1554747885-75177244.1542289228)

The link above might be of some use. It might be a little convoluted though.

The following Q/A might be of some use as well

> **[Using Jira API from Postman via OAuth](https://community.atlassian.com/t5/Jira-questions/Using-Jira-API-from-Postman-via-OAuth/qaq-p/704668)**
>
> Hi there, for some reasons, need to access production at customer Jira with enabled websudo. Would like to use Postman and Rest API. Using Basic auth is working, but I don't like that as final solution.  Anyone know how to setup token...
