# OAuth 1.0 for Jira

**URL:** <https://community.postman.com/t/oauth-1-0-for-jira/12477>\
**Category:** Help Hub\
**Tags:** oauth, jira\
**Created:** [May 8, 2020, 10:38am UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477 "2020-05-08T10:38:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![anisah97](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anisah97](https://community.postman.com/u/anisah97)\
**Post date:** [May 8, 2020, 10:38am UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/1 "2020-05-08T10:38:22Z")

</div>

Hello, I need a help with the my API Integration.  
I have created the publickey and private key for the Jira and also I’ve created the application link.  
[https://developer.atlassian.com/server/jira/platform/oauth/](https://developer.atlassian.com/server/jira/platform/oauth/)  
I have followed this guide and did the Java version of fetching data. I can request token and goto the link to authorize it by click allow and get the token to get access token.  
When I’m trying in Postman if I used the Consumer Key, Access Token and Token Secret from the jar file I did earlier I’m getting error. the file Consumer Secret, what supposed to be it? Where/How do I fill the private key values in Postman.  
getting this error.

`Client must be authenticated to access this resource.`

I also getting this error

`oauth_problem=signature_method_rejected`

Help me out, stuck for days in this. Thank you in Advance

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [May 16, 2020, 6:25pm UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/2 "2020-05-16T18:25:45Z")

</div>

Hi @anisah97

According to the documentation, the **Consumer key** is what you have entered when entering the client details on Jira. In the example, it is _OauthKey_.

The consumer secret seems to be the contents of the file `jira_privatekey.pcks8`.

Does it help?

---

<div class="post-metadata">

**Author:** ![anisah97](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anisah97](https://community.postman.com/u/anisah97)\
**Post date:** [May 17, 2020, 4:07am UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/3 "2020-05-17T04:07:03Z")

</div>

Hi @vdespa, thank you very much…

I tried the Privatekey value for the Consumer Secret. I’m getting error like this  
CODE 400

> oauth\_problem=signature\_method\_rejected

For what I known, my signature\_method is RSA-SHA1 in the Postman drop down menu only have HMAC-SHA1, HMAC-SHA256 and Plaintext.

 ![Postman](https://us1.discourse-cdn.com/getpostman/original/2X/b/bed3bfb4af5a54b6a32922e7b69713cc20d1754c.png)

 ![signature](https://us1.discourse-cdn.com/getpostman/original/2X/d/d2af77b08b973bf6089d3629eb390917b2b9291d.png)  
As you can see I’ve added the signature method to override the value. Is there anything wrong in my configuration? BTW the Access Token, Token Secret all I get it from Jar version of Aouth. Thank you in advance

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [May 18, 2020, 4:10pm UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/4 "2020-05-18T16:10:46Z")

</div>

Hi,

I have looked into this issue and it does not look good. The problem is not only modifying the query parameters. This is a different way of creating the signature.

This is also mentioned on the issue tracker:

> <https://github.com/postmanlabs/postman-app-support/issues/2302>
>
> Hi,
> Currently Postman supports only HMAC-SHA1, HMAC-SHA256 and PLAINTEXT signatu…re methods. Need to have also RSA-SHA1 where request is signed with RSA private key. 
> Are there any plans on adding this?
> 
> Thanks.

---

<div class="post-metadata">

**Author:** ![anisah97](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anisah97](https://community.postman.com/u/anisah97)\
**Post date:** [May 19, 2020, 2:49am UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/5 "2020-05-19T02:49:31Z")

</div>

Hi,

Yes I came across this link, It’s look complicated and I don’t understand well. Is there any other way. Thank you in advance.

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [May 19, 2020, 4:45am UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/6 "2020-05-19T04:45:30Z")

</div>

What are you actually trying to do with Jira?

---

<div class="post-metadata">

**Author:** ![anisah97](https://avatars.discourse-cdn.com/v4/letter/a/22d042/32.png) [@anisah97](https://community.postman.com/u/anisah97)\
**Post date:** [May 19, 2020, 6:00am UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/7 "2020-05-19T06:00:35Z")

</div>

I wanted to do API Integration for Ticketing using Jira.  
This is what I’ve been trying. Using OAuth 1.0 with Jira Service Desk. REST API…  
I have to do webhooks as well.  
[https://docs.atlassian.com/jira-servicedesk/REST/4.8.1/](https://docs.atlassian.com/jira-servicedesk/REST/4.8.1/)

---

<div class="post-metadata">

**Author:** ![vdespa](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/vdespa/32/2770_2.png) [@vdespa](https://community.postman.com/u/vdespa)\
**Post date:** [May 23, 2020, 1:49am UTC](https://community.postman.com/t/oauth-1-0-for-jira/12477/8 "2020-05-23T01:49:53Z")

</div>

You may one to try doing the integration using a programming language and not Postman.
