<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to log in and redirect to page using  one url in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140903#M37600</link>
    <description>&lt;P&gt;your link do not work. Because I still need to log in in modular window and then i see content.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Dec 2021 08:21:14 GMT</pubDate>
    <dc:creator>alfresco_lover</dc:creator>
    <dc:date>2021-12-02T08:21:14Z</dc:date>
    <item>
      <title>How to log in and redirect to page using  one url</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140901#M37598</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to see content of pdf file via alfresco&amp;nbsp;&lt;A href="https://alfresco-playground.mlensky.cz/alfresco/api/-default-/public/cmis/versions/1.0/atom" target="_blank" rel="nofollow noopener noreferrer"&gt;CMIS 1.0 AtomPub Service Document&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;When I enter this link:&amp;nbsp;&lt;A href="http://localhost:8081/alfresco/s/api/node/content/workspace/SpacesStore/26b11458-5059-48dd-989d-9183f8e9d025/name_of_file.pdf" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8081/alfresco/s/api/node/content/workspace/SpacesStore/26b11458-5059-48dd-989d-9183f8e9d025/name_of_file.pdf&lt;/A&gt; to my browser I need to log in and then I can see content of file. Everything works as it should.&lt;/P&gt;&lt;P&gt;I would like to do the same thing in script but I cant find rigth url that would log me in and redirect me to content of file in one url.&lt;/P&gt;&lt;P&gt;Is there a way how this can be done ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 10:38:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140901#M37598</guid>
      <dc:creator>alfresco_lover</dc:creator>
      <dc:date>2021-12-01T10:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to log in and redirect to page using  one url</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140902#M37599</link>
      <description>&lt;P&gt;You can use this kind of URL:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/Sample.pdf?id=09c6585e-c6a3-4362-9c99-4632a2868d23" target="_blank" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/Sample.pdf?id=09c6585e-c6a3-4362-9c99-4632a2868d23&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Including your document name ("Sample.pdf") and your document id ("09c6585e-c6a3-4362-9c99-4632a2868d23"). Just remove the "workspace/SpacesStore/" to get this required id.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 13:20:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140902#M37599</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-12-01T13:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to log in and redirect to page using  one url</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140903#M37600</link>
      <description>&lt;P&gt;your link do not work. Because I still need to log in in modular window and then i see content.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Dec 2021 08:21:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140903#M37600</guid>
      <dc:creator>alfresco_lover</dc:creator>
      <dc:date>2021-12-02T08:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to log in and redirect to page using  one url</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140904#M37601</link>
      <description>&lt;P&gt;You need to add Basic Auth header. For instance, using curl you can type following command:&lt;/P&gt;
&lt;PRE&gt;curl --location --request GET 'http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.0/atom/content/Sample.pdf?id=887b6ef5-7651-4c3a-918d-85706364d65a' \
--header 'Authorization: Basic YWRtaW46YWRtaW4='&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Dec 2021 09:36:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-log-in-and-redirect-to-page-using-one-url/m-p/140904#M37601</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2021-12-02T09:36:17Z</dc:date>
    </item>
  </channel>
</rss>

