<?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 How to pass authentication from Share to custom webscripts on ACS? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127753#M34692</link>
    <description>&lt;P&gt;How to pass authentication from Share to custom webscripts on ACS?&amp;nbsp; I currently have some surf webscripts that I will be backing with the repo authentication mechanism by adding &amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;.&amp;nbsp; I will be making javascript webservice calls from a custom page on Share. I see there are ways to do this if you are using Alfresco's REST API, but what about for endpoints that aren't part of the REST API?&lt;/P&gt;&lt;P&gt;Using ACS 7.0 Enterprise.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Feb 2022 15:05:01 GMT</pubDate>
    <dc:creator>SmallHeathTommy</dc:creator>
    <dc:date>2022-02-01T15:05:01Z</dc:date>
    <item>
      <title>How to pass authentication from Share to custom webscripts on ACS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127753#M34692</link>
      <description>&lt;P&gt;How to pass authentication from Share to custom webscripts on ACS?&amp;nbsp; I currently have some surf webscripts that I will be backing with the repo authentication mechanism by adding &amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;.&amp;nbsp; I will be making javascript webservice calls from a custom page on Share. I see there are ways to do this if you are using Alfresco's REST API, but what about for endpoints that aren't part of the REST API?&lt;/P&gt;&lt;P&gt;Using ACS 7.0 Enterprise.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 15:05:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127753#M34692</guid>
      <dc:creator>SmallHeathTommy</dc:creator>
      <dc:date>2022-02-01T15:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass authentication from Share to custom webscripts on ACS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127754#M34693</link>
      <description>&lt;P&gt;You can use the "remote" object from Share to perform your request. This handles Share authentication out of the box.&lt;/P&gt;
&lt;P&gt;Sample code is available in:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/keensoft/alfresco-agreement-filter/blob/7bf84e27dbb3a6f2dc590719d609d6f43eb44803/agreement-filter-share/src/main/amp/config/alfresco/templates/es/keensoft/agreement-redirect.js#L3" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/keensoft/alfresco-agreement-filter/blob/7bf84e27dbb3a6f2dc590719d609d6f43eb44803/agreement-filter-share/src/main/amp/config/alfresco/templates/es/keensoft/agreement-redirect.js#L3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 16:23:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127754#M34693</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-02-01T16:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass authentication from Share to custom webscripts on ACS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127755#M34694</link>
      <description>&lt;P&gt;I am setting up a single share page that uses jquery to post/get requests to ACS.&amp;nbsp; I am guessing this would be single Share webscript written in JS to relay the communication between the page and the repository?&amp;nbsp; Im thinking I can just simply make it generic enough to pass it a URL to hit and request body.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Feb 2022 19:41:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127755#M34694</guid>
      <dc:creator>SmallHeathTommy</dc:creator>
      <dc:date>2022-02-01T19:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass authentication from Share to custom webscripts on ACS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127756#M34695</link>
      <description>&lt;P&gt;That is harder, but you still can get a session ticket and use them along with your REST requests.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Feb 2022 09:21:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127756#M34695</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2022-02-02T09:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass authentication from Share to custom webscripts on ACS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127757#M34696</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/5487"&gt;@angelborroy&lt;/A&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;That is harder, but you still can get a session ticket and use them along with your REST requests.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;oh, are you thinking i setup a webscript that calls the ticket service and I can just pass that back and use it in subsequent calls?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 23:49:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127757#M34696</guid>
      <dc:creator>SmallHeathTommy</dc:creator>
      <dc:date>2022-02-04T23:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to pass authentication from Share to custom webscripts on ACS?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127758#M34697</link>
      <description>&lt;P&gt;Actually, I found an easier way!&lt;/P&gt;&lt;P&gt;simply using the Share proxy.&amp;nbsp; endpoint becomes localhost:8080/share/proxy/&amp;lt;alfresco repo endpoint&amp;gt; and Share takes care of the authentication.&amp;nbsp; Easy Peasy&lt;/P&gt;</description>
      <pubDate>Sat, 05 Feb 2022 19:13:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-pass-authentication-from-share-to-custom-webscripts-on/m-p/127758#M34697</guid>
      <dc:creator>SmallHeathTommy</dc:creator>
      <dc:date>2022-02-05T19:13:00Z</dc:date>
    </item>
  </channel>
</rss>

