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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.