Hello,
I'm trying to authorize my user using OAuth 2.0 with my app, the objective is to access private documents in Confluence, since I'm a administrator.
https://support.atlassian.com/confluence-cloud/docs/bypass-access-restrictions-on-a-page-with-admin-key/#Use-admin-key-to-access-a-restricted-page
I can do it on the UI, but couldn't find a way to access private document through pages API. Is it possible to authorize the app during OAuth 2.0 flow with administrator permissions?
Even with the "ADMIN" scope in OAuth, the app's permissions are ultimately regulated by the user's own permissions on Confluence.
An app cannot succeed to the full admin capabilities of a user through OAuth.
As OAuth 2.0 is designed for secure, user-controlled access.
Granting admin permissions directly through the authorization flow would avoid this security model
More information can be found out here - Confluence OAuth 2.0 provider API (atlassian.com)
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.