The client credential method does not return the cloud id.

jira test 1
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!
October 8, 2023
We are currently working on integrating our application with JIRA Server, and for this purpose, we are using the client credential method.
To achieve this integration, we have created an OAuth 2.0 integration app, which allows us to generate an access token through the following request:

Screenshot 2023-10-09 111625.png

With the access token obtained from the response, we then proceed to request the cloud id using the following request:

Screenshot 2023-10-09 111619.png
The issue we are facing is that this request is returning a blank response "[]", and we are unable to fetch the cloud id.
However, when we attempt to generate the access token using the "three-legged OAuth" or "authorization code grants," and then use this token in the same request as mentioned above, we successfully obtain a cloud id.
In summary, the problem lies in the client credential method, as it does not return the cloud id as expected, whereas using "three-legged OAuth" or "authorization code grants" does give us the desired cloud id.

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events