I am a bit lost in the documentation. Can someone help me here ?
I am building a Desktop App (macOS, Swift, Alamofire, OAuthSwift) and want to authenticate with the REST API for my JIRA Server Cloud instance while implementing. And later to any instance of any user of the App, of course.
I did already implement OAuth 1.0a for the Trello REST API but the JIRA REST API docs are not clear to me.
Especially as there are multiple docs for various Product Variants and I have not found anything specifically about Desktop Apps (except for this: Creating application link to be used for desktop c...) and also could not find the request-authorize-access-URLs anywhere) The sample code seemed to be only about Web-Web cases, too.
I assume the information is in the docs i have seen but i missed what is relevant to my case.
For the Trello OAuth1.0a authentication i used 5 pieces of information which were provided by a) my Trello Account Page (1+2) and b) the Trello REST API docs (3+4+5):
- Consumer-Key
- Consumer-Secret
- request-URL
- authorize-URL
- access-URL
These 5 are what i am using with the OAuth library to do the OAuth dance.
Question A) My impression is that i have to create 1+2 myself here. Is this correct?
Question B) Where do i get 3+4+5 ? Or does it work differently here? (But the OAuth-lib expects them?!)
Any help or pointers in the right direction would be much appreciated.
If i left out relevant information please let me know.