<?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: 401 Unauthorized - Alfresco APIs in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/401-unauthorized-alfresco-apis/m-p/133177#M35878</link>
    <description>&lt;P&gt;Ok, after many hours thinking... i forgot to exclude&amp;nbsp;SecurityAutoConfiguration.class. Haha&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jul 2022 23:55:43 GMT</pubDate>
    <dc:creator>renatoc1</dc:creator>
    <dc:date>2022-07-04T23:55:43Z</dc:date>
    <item>
      <title>401 Unauthorized - Alfresco APIs</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/401-unauthorized-alfresco-apis/m-p/133175#M35876</link>
      <description>&lt;P&gt;I created an API that will consume Alfresco APIs. For example, i'm trying to consume the endpoint&amp;nbsp;&lt;SPAN&gt;localhost:8081/test&lt;/SPAN&gt;&lt;BR /&gt;with Basic Auth (admin/admin) that will consume the endpoint&amp;nbsp;&lt;SPAN&gt;&lt;A href="http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/audit-applications" target="_blank" rel="noopener nofollow noreferrer"&gt;http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/audit-applications&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;by feign client, but it's returning 401 - Unauthorized.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 14:16:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/401-unauthorized-alfresco-apis/m-p/133175#M35876</guid>
      <dc:creator>renatoc1</dc:creator>
      <dc:date>2022-07-04T14:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: 401 Unauthorized - Alfresco APIs</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/401-unauthorized-alfresco-apis/m-p/133176#M35877</link>
      <description>&lt;P&gt;For more details, i'm using these properties on my application.properties.&lt;/P&gt;&lt;PRE&gt;# HTTP Basic Authentication that will be used by the API
content.service.security.basicAuth.username=admin
content.service.security.basicAuth.password=admin
# Location of the server and API endpoints
content.service.url=http://localhost:8080
content.service.path=/alfresco/api/-default-/public/alfresco/versions/1
search.service.path=/alfresco/api/-default-/public/search/versions/1&lt;/PRE&gt;&lt;P&gt;But it's not working.&lt;/P&gt;&lt;P&gt;When i access the endpoint of my application (&lt;A href="http://localhost:8081/test" target="_blank" rel="noopener nofollow noreferrer"&gt;http://localhost:8081/test&lt;/A&gt;) to consume Alfresco APIs internally, i get 401 - Unauthorized.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 20:04:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/401-unauthorized-alfresco-apis/m-p/133176#M35877</guid>
      <dc:creator>renatoc1</dc:creator>
      <dc:date>2022-07-04T20:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: 401 Unauthorized - Alfresco APIs</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/401-unauthorized-alfresco-apis/m-p/133177#M35878</link>
      <description>&lt;P&gt;Ok, after many hours thinking... i forgot to exclude&amp;nbsp;SecurityAutoConfiguration.class. Haha&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jul 2022 23:55:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/401-unauthorized-alfresco-apis/m-p/133177#M35878</guid>
      <dc:creator>renatoc1</dc:creator>
      <dc:date>2022-07-04T23:55:43Z</dc:date>
    </item>
  </channel>
</rss>

