Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I link my client code without URL with JIRA for OAuth

abhinabamal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 2, 2020

Hi,

I have written a piece of java code to create issues on JIRA. I have seen the OAuth related information once I got authorization error as I was using BASIC Auth previously. 

So on OAuth related article provided by Atlassian(https://developer.atlassian.com/server/jira/platform/jira-rest-api-example-oauth-authentication-6291692/),  It is written that first step is to configure JIRA.  Here I need to create new application link, while doing so I need to provide correct URL of my client.

But my question is, my client code is not hosted anywhere,so my client code has no URL. Then How can I provide the link my Client code with JIRA to automatically create issues on JIRA through my client code .

**I am using JIRA server(latest version) with administrator access not cloud.

 

Thanks,

Abhinaba.

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.
April 3, 2020

Hello @abhinabamal ,

Welcome to the Atlassian Community!

As mentioned in the documentation you are pointing to, you don't have to provide the correct URL for your client, you can also just use a placeholder/dummy URL if your client cannot be reached via HTTP:

When creating the Application Link use a placeholder URL or the correct URL to your client, if your client can be reached via HTTP and choose the Generic Application type.

 

Have a nice weekend!

 

Cheers,
Dario

Suggest an answer

Log in or Sign up to answer