You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hello! I'm trying to set up OAuth 2.0 for a script that makes calls to the Jira API. I'm running a local Jira Server instance at http://localhost:2990/jira, and using the Authorization Code flow on this page.
I set up my application link like this:
And got the credentials.
Then I went into my browser and went to the following URL (encoding the redirect URI via an online tool, but I'm not sure if that step was necessary):
If I understand correctly, this should take me to a screen where I can give permission for the client to use my Jira account. However, I get redirected to the following URL:
And see the following screen:
I also tried going through the same steps but using http://localhost:2990/jira/plugins/servlet/oauth2/consent as the redirect URI (both in the application link setup and in the query parameter for the URL I entered), but I got the same result.
This is my first time setting up OAuth, so I'm unfamiliar with how to implement it. Could someone help me understand what I'm doing wrong?
Thank you very much!