<?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 Disable Alfresco rest api basic auth popup in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25151#M10891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="color: #242729; background-color: #ffffff; border: 0px; margin: 0px 0px 1em;"&gt;I am using Angular Version 6 &amp;amp; Alfresco community version 5.2&lt;/P&gt;&lt;BLOCKQUOTE style="color: #242729; background-color: #fff8dc; border-width: 0px 0px 0px 2px; border-style: initial initial initial solid; border-color: initial initial initial #ffeb8e; margin: 0px 0px 10px; padding: 10px;"&gt;&lt;P style="border: 0px; font-weight: inherit; margin: 0px 0px 1em;"&gt;"@alfresco/adf-content-services": "2.6.1",&lt;/P&gt;&lt;P style="border: 0px; font-weight: inherit;"&gt;"@alfresco/adf-core": "2.6.1",&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;On API call if I am logged out and calling the webscript/api from angular I got the basic auth popup every time.&lt;/P&gt;&lt;P&gt;I need to disable it.&lt;BR /&gt;Is there any way to do the same?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have asked the same question on stackoverflow platform&lt;BR /&gt;&lt;A class="link-titled" href="https://stackoverflow.com/questions/54810569/disable-alfresco-rest-api-basic-auth-popup" title="https://stackoverflow.com/questions/54810569/disable-alfresco-rest-api-basic-auth-popup" rel="nofollow noopener noreferrer"&gt;angular6 - Disable Alfresco rest api basic auth popup - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2019 12:31:57 GMT</pubDate>
    <dc:creator>vikash_patel</dc:creator>
    <dc:date>2019-02-28T12:31:57Z</dc:date>
    <item>
      <title>Disable Alfresco rest api basic auth popup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25151#M10891</link>
      <description>Hi,I am using Angular Version 6 &amp;amp; Alfresco community version 5.2"@alfresco/adf-content-services": "2.6.1","@alfresco/adf-core": "2.6.1",On API call if I am logged out and calling the webscript/api from angular I got the basic auth popup every time.I need to disable it.Is there any way to do the</description>
      <pubDate>Thu, 28 Feb 2019 12:31:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25151#M10891</guid>
      <dc:creator>vikash_patel</dc:creator>
      <dc:date>2019-02-28T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Alfresco rest api basic auth popup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25152#M10892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi this problem has been solved in the last version of the content service 6.0.0. If you want a workaround for your project witout&amp;nbsp;update the CS you nee to use something similar on what we do in&amp;nbsp;onProxyRes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 9.0pt;"&gt;&lt;SPAN style="color: #9876aa;"&gt;module&lt;/SPAN&gt;.&lt;SPAN style="color: #9876aa;"&gt;exports &lt;/SPAN&gt;= {&lt;BR /&gt;    &lt;SPAN style="color: #6a8759;"&gt;"/alfresco"&lt;/SPAN&gt;: {&lt;BR /&gt;        &lt;SPAN style="color: #6a8759;"&gt;"target"&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"http://localhost:8080"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"secure"&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"pathRewrite"&lt;/SPAN&gt;: {&lt;BR /&gt;            &lt;SPAN style="color: #6a8759;"&gt;"^/alfresco/alfresco"&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;""&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;        &lt;/SPAN&gt;}&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"changeOrigin"&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;true&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// workaround for REPO-2260&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onProxyRes&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;function &lt;/SPAN&gt;(proxyRes&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;req&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;res) {&lt;BR /&gt;            &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;const &lt;/SPAN&gt;header = proxyRes.&lt;SPAN style="color: #9876aa;"&gt;headers&lt;/SPAN&gt;[&lt;SPAN style="color: #6a8759;"&gt;'www-authenticate'&lt;/SPAN&gt;]&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;            &lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;if &lt;/SPAN&gt;(header &amp;amp;&amp;amp; header.&lt;SPAN style="color: #ffc66d;"&gt;startsWith&lt;/SPAN&gt;(&lt;SPAN style="color: #6a8759;"&gt;'Basic'&lt;/SPAN&gt;)) {&lt;BR /&gt;                proxyRes.&lt;SPAN style="color: #9876aa;"&gt;headers&lt;/SPAN&gt;[&lt;SPAN style="color: #6a8759;"&gt;'www-authenticate'&lt;/SPAN&gt;] = &lt;SPAN style="color: #6a8759;"&gt;'x' &lt;/SPAN&gt;+ header&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;            &lt;/SPAN&gt;}&lt;BR /&gt;        }&lt;BR /&gt;    }&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"/activiti-app"&lt;/SPAN&gt;: {&lt;BR /&gt;        &lt;SPAN style="color: #6a8759;"&gt;"target"&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;"http://localhost:8080"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"secure"&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;false&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"pathRewrite"&lt;/SPAN&gt;: {&lt;BR /&gt;            &lt;SPAN style="color: #6a8759;"&gt;"^/activiti-app/activiti-app"&lt;/SPAN&gt;: &lt;SPAN style="color: #6a8759;"&gt;""&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;        &lt;/SPAN&gt;}&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;        &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"changeOrigin"&lt;/SPAN&gt;: &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;true&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;    &lt;/SPAN&gt;}&lt;BR /&gt;}&lt;SPAN style="color: #cc7832;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Mar 2019 14:37:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25152#M10892</guid>
      <dc:creator>eugenio_romano</dc:creator>
      <dc:date>2019-03-07T14:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Alfresco rest api basic auth popup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25153#M10893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, &lt;B&gt;Eugenio Romano&lt;/B&gt;‌ for your reply,&lt;/P&gt;&lt;P&gt;Let me check &amp;amp; implement this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 15:11:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25153#M10893</guid>
      <dc:creator>vikash_patel</dc:creator>
      <dc:date>2019-03-13T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disable Alfresco rest api basic auth popup</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25154#M10894</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have the same issue when using ADF extension. On the main application it works fine and issue is solved but after the creation of an extension (&lt;A href="https://alfresco-content-app.netlify.com/#/extending/extensibility-features" target="_blank" rel="nofollow noopener noreferrer"&gt;https://alfresco-content-app.netlify.com/#/extending/extensibility-features&lt;/A&gt;) I have the problem back again&lt;/P&gt;&lt;P&gt;Note that I amusing ACS 6.1&lt;/P&gt;&lt;P&gt;As for the workarround you mentionned I can't apply to an extension because I don't have&amp;nbsp;proxy.conf.js in the structure but only a proxy.conf.json.&amp;nbsp;&lt;/P&gt;&lt;P&gt;proxy.conf.js has the fix you mentionned&lt;/P&gt;&lt;P&gt;Any idea?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Jamil&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 14:40:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/disable-alfresco-rest-api-basic-auth-popup/m-p/25154#M10894</guid>
      <dc:creator>jamilnour</dc:creator>
      <dc:date>2019-12-13T14:40:43Z</dc:date>
    </item>
  </channel>
</rss>

