Content Download Link with SSO

cancel
Showing results for 
Search instead for 
Did you mean: 
fraschi
Member II

Content Download Link with SSO

Hi,

I have community edition 7.3, i'm trying to get a download link for the uploaded docs, I use keycloak for SSO Auth.
I've tried with a simple download link in the form:

http://alfrescoUrl/share/proxy/alfresco/slingshot/node/content/workspace/SpacesStore/{nodeId}/{fileName}?a=true

If I try directly I get a 401 (Unauthorized) also if the sso authentication is done.
If I previously go to 

http://alfrescoUrl/share/

and then to the file url, the download starts right.
Note: as the sso auth is already done I have no need to authenticate through user/pass. when I go to /share I get directly in the user home.

There's a way to get it work?

There's a better alternative to get a direct downoload url for authenticated user?

Thanks