Getting errors trying to authorize application link

Colin Stryker September 12, 2019

Our company, CodeStream, offers a plugin for popular IDEs that allows development teams to more easily collaborate on software development. As such, we offer an integration to Jira Server (self-hosted Jira). To assist users to set up this integration, we direct them to https://developer.atlassian.com/server/jira/platform/oauth/ to set up their application link, then they give us their private key and consumer key so our side can initiate an OAuth process with them and ultimately obtain an access token for the integration.

The first step during the OAuth process is to obtain a request token, then ask the user for the appropriate permissions in their browser, then exchange the request token for an access token. This works for most of our users, but for a few users, when we direct to their self-hosted Jira with the request token to get their permissions, they are seeing this error in their browser: "The request token you are trying to authorise is not valid."

I've done a good deal of experimentation to try and isolate the problem but have had no luck. As far as I can tell the process of obtaining a request token works perfectly. Is there any more detailed information about what this error means and what may be going wrong here? I am truly stumped.

1 answer

1 accepted

0 votes
Answer accepted
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2019

Hi @Colin Stryker ,

Welcome to the Atlassian Community!

Please notice that this might not be the best place to ask development related questions.

In order to get help on this you may want to refer to the resources listed in https://developer.atlassian.com/resources:

 

Cheers,
Dario

Colin Stryker September 19, 2019

Oops, yep. Wrong place. Thanks for the heads-up!

Like Dario B likes this
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2019

You are very welcome!

Please accept the answer if you get the time to do so :) 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events