This seems to be an obvious question but I have been unable to find the answer
All the documentation I have read points to localhost:8900 but I don't think that is right.
I have assumed that the links should be :
requestTokenUrl: "https://mysite.atlassian.net/jira/plugins/servlet/oauth/request-token",
authorizeUrl: "https://mysite.atlassian.net/jira/plugins/servlet/oauth/authorize",
accessTokenUrl: "https://mysite.atlassian.net/jira/plugins/servlet/oauth/access-token"
When I call my Oauth plugin it simply comes back with a 404: Page not found error.
What am I missing?
What documentation are you following?
I ask because you mention using localhost:8900 which is, as far as I know, never mentioned in the docs - 8900 is not a port any Atlassian software uses, and localhost is always going to be Server, never a Cloud system.
Hi Nic,
This is the page I am trying to use:
https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-oauth-authentication/
It is the example app.py Python code downloaded from the site:
consumer_key = 'oauth-sample-consumer'
consumer_secret = 'dont_care'
request_token_url = 'http://localhost:8090/jira/plugins/servlet/oauth/request-token'
access_token_url = 'http://localhost:8090/jira/plugins/servlet/oauth/access-token'
authorize_url = 'http://localhost:8090/jira/plugins/servlet/oauth/authorize'
My problem is that I cannot find any definitive reference to the real URLs I should be using.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, I see, sorry. The sample code you've downloaded contains local links.
I think you need to run through https://developer.atlassian.com/cloud/jira/platform/oauth-2-3lo-apps/ - this tells you how to generate tokens from a Cloud system
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nic,
Thank you for that documentation. I have followed that and I think I have got further but I seem to have fallen at what is hopefully the final hurdle.
As far as I can tell I have provided a valid scope.
I have set the following permissions:
Do you know what I am missing?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.