We are trying to integrate Arcon PAM Solution with Jira Service Management Tool via REST API and facing challenge in Authentication of Arcon PAM Application with Jira REST API.
During Authentication the API request contains 2 Header request, ie, Basic authorization (base64 encoded) & Cookie Atlassian token information.
The Cookie Atlassian Token header dynamically changes every time the API request is received.
Can you Please check and confirm that if it’s mandatory to pass generate Token or not ? If it’s mandatory then how can we generate the Token as currently we do not have any provision to add cookies in the header.
Please share email address to connect with Jira Developers to connect move forward with this integration. Please let me know any queries if you have
Sample API request header checked from POSTMAN API.
var client = new RestClient(“https://myversa.atlassian.net/rest/api/3/issue/MS-1”);
client.Timeout = -1;
var request = new RestRequest(Method.GET);
request.AddHeader(“Authorization”, “Basic cGFsYW5pYXBwYW4udkB2ZXJzYS1uZXR3b3Jrcy5jb206eFlPcU44WE1SOVFUVXRBWnlUZ1o5RUMz”);
request.AddHeader(“Cookie”, “atlassian.xsrf.token=ae13552d-0b25-451c-a4ec-335c76dca812_9a9da2e3bf33235779dcb968c1e3b5b10ba6944c_lin”);
var body = @“”;
request.AddParameter(“text/plain”, body, ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
Console.WriteLine(response.Content);