Confluence Server REST API with SAML

Henry Simon September 17, 2022

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
TAGS
AUG Leaders

Atlassian Community Events