Expand my Community achievements bar.

SOLVED

Transferring Asset Share Link From One Instance to Another

Avatar

Level 3

Hi Everyone

In 6.3.3 we are trying to transfer an asset share link generated from one instance to another. The link is generated by selecting several assets and using the Share button of the Asset Console UI

The link is generated on one instance and looks like this

http://localhost:4502/linkshare.html?sh=8f004c5f_134c_415f_bafb_380cf0afd429.02q_CpLCl_WtzRvbBfbsIng...

Now, on another instance we have the same assets in same locations. We also transfer the newly created contend in /var/dam/share to the second instance. The second instance runs on port 4503. Then we try the same generated link with modified port number, or:

http://localhost:4503/linkshare.html?sh=8f004c5f_134c_415f_bafb_380cf0afd429.02q_CpLCl_WtzRvbBfbsIng...

The link works and we see the list of assets on the second instance but they have no thumbnails generated. Opening the link or trying to open or download asset does not work and results in an error in the error.log of the sort:

com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.

Our question is then is it possible at all to transfer the link share from one instance to another and if so is there something else we are missing.

Thank you,

Bobby

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

This is not the designed behavior. Linkshare URL is pre-authenticated for a particular instance and should not be used for a different instance as per error at [1]. Replicating /var/dam/share is a hack that should not be used.

What is the usecase for transferring the linshare generated from one instance to another?

[1] 19.06.2019 20:49:52.196 *ERROR* [0:0:0:0:0:0:0:1 [1560991792195] GET /libs/dam/gui/content/assets/assetlinkshare.html/content/dam/we-retail/en/activities/hiking/hiking_4.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

This is not the designed behavior. Linkshare URL is pre-authenticated for a particular instance and should not be used for a different instance as per error at [1]. Replicating /var/dam/share is a hack that should not be used.

What is the usecase for transferring the linshare generated from one instance to another?

[1] 19.06.2019 20:49:52.196 *ERROR* [0:0:0:0:0:0:0:1 [1560991792195] GET /libs/dam/gui/content/assets/assetlinkshare.html/content/dam/we-retail/en/activities/hiking/hiking_4.jpg/_jcr_content/renditions/cq5dam.thumbnail.319.319.png HTTP/1.1] com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareProxyServlet The request has not been authenticated using the intended auth handler.