we have a requirement to develop a component plugin and that plugin need read document from appian in our component plugin develop in java script we are using directly the document url in javascript to load but it is not load through js as it shows authentication issue but in the same session we can directly download the document using the url