Hi,
We have created a user manual on Confluence in a non-public folder. We want to use the REST API to display this content on our website. We successfully generated the token for using the API and managed to retrieve the text. However, we encountered difficulties in retrieving the photos and videos that we added to the documentation. When using the REST API requests, we only receive links to the media, but these links are only accessible with the token, which has prevented us from displaying them correctly. Do you have any solutions to help us resolve this issue?
Thank you
Hi @Mariem MOUKHLISSI ,
One solution to the problem could be to use a proxy server. The proxy can add the token to the requests, without exposing the token to the client. However this also has security implications.
@marc -Collabello--Phase Locked- Thank you for your response! Could you please provide more details on how to add the token to the proxy configuration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You would need to run your own proxy server and rewrite the URLs. This really depends on the proxy server you have, and what security rules you have.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.