We're converting our Confluence app from application links to OAuth2.0. Calls like
https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/space
work however anything related to users, groups fails with 401 unauthorized. These worked with application links. Examples of what fails:
https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/user/current
https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/group
A curl request for these looks like: curl --request GET --url https://api.atlassian.com/ex/confluence/{our_cloud_id}/rest/api/user/current --header "Authorization: Bearer {our_token}" --header 'Accept: application/json'
Hi @James Hees ,
Apologies for late reply. However I can see that you already got the issue solved by opening a support ticket in https://support.atlassian.com/contact
I am pasting the solution in here in case anyone would be interested.
The issue was due to the below bug that is now solved:
Cheers,
Dario
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.