How to bind login id and password in download url and authenticate directly without redirecting to login page

I am using nuxeo 10.1 authentication using LDAP. I want to preview and download files from nuxeo using my java application created in portal. I am using document url : http://127.0.0.1:8080/nuxeo/nxfile/default/776c8640-7f19-4cf3-b4ff-546ea1d3d496/blobholder:0/mydocument.pdf But it is redirecting me to login page. And I want to authenticate user either passing credentials in url or somehow different so that user is not going to redirected on login page instead get authenticated and view the document or get an error message that the “user is not authenticated”. Please help me with this issue it has been a long time that I am struck on it.

0 votes

0 answers

108 views

ANSWER