Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Confluence Server REST API with SAML

For Confluence Server, does anyone know how to use REST API when there is SAML SSO? Shibboleth is the IdP. 


This works for spaces that allow anonymous view access.

curl -H "Authorization: Bearer <my personal access token>" -X GET "https://xxxx/rest/api/space/spacename?expand=description"

With restricted spaces, the error is:

{"statusCode":404,"data":{"authorized":false,"valid":true,"allowedInReadOnlyMode":true,"errors":[],"successful":false},"message":"No space found with key : spacename","reason":"Not Found"}


Any help is appreciated. Thank you.


0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events