ContributionsMost RecentMost LikesSolutionsRe: Credentials required to download an attachment Big thanks for your help ! Yes thoses actions will only occur server-to-server ;) I managed to sign in by extracting the form hidden inputs and cookies and I am able to retrieve the attachments that way. I'll use the SSO library for sso_enabled communities once i'll have access to the library. thanks again Alexandre Re: Credentials required to download an attachment I don't want to open the browser at all in the process of downloading the attachments. In a community where SSO is enable, I probably need to use the LithiumSSO API to log in with a user and then pass the SSO token as a cookie. Am I right ? If so, where can I download that library ? If the community doesn't support single sign on, is there a service to log in, or do I need to send a POST HTTP request to t5/user/loginpage.userloginform.form.form.form ? I tried this last technique, but every time I try to send the credentials in that request, I get an Internal Server error (500). Which parameter is required ? Do you have any clue regarding that ? Credentials required to download an attachment Hello, I would like to be able to download an attachment whose url is found using to REST API with the credentials used by the REST API. Actually, the url pointed by the api is out of the scope of to the REST API (for example http://lithosphere.lithium.com/lithium/attachments/lithium/studio@tkb/112/20/restapidocs_12_6.zip) and therefore requires to login in a browser. Is there a way to use the session key or to send the credentials again directly (using user.login & user.password maybe ?) on the attachment url to be able to download it ? Solved