Content Download Link with SSO

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

Content Download Link with SSO


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:


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


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?