<?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 call Alfresco Rest API's using OAuth instead of using Basic Auth? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144074#M38245</link>
    <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&lt;DIV class="js-bookmark-count mt4"&gt;&lt;SPAN&gt;I have to integrate my external application with Alfresco using Alfresco Rest API's, Where I have to call these API's from my custom java microservices using OAuth/OAuth 2.0 instead of using Basic Auth. (There is a separate service account in AD which I have to use for calling ACS rest API's)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-bookmark-count mt4"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="js-bookmark-count mt4"&gt;&lt;SPAN&gt;Please let me know, how can I get the Auth Tokens for my service account user, so I can pass those tokens while calling rest API.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;Alfresco Version:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Alfresco Content Service 6.2.2 (Enterprise Edition)&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 06 Jul 2021 12:11:08 GMT</pubDate>
    <dc:creator>talape_deepak</dc:creator>
    <dc:date>2021-07-06T12:11:08Z</dc:date>
    <item>
      <title>How to call Alfresco Rest API's using OAuth instead of using Basic Auth?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144074#M38245</link>
      <description>&lt;DIV class="votecell post-layout--left"&gt;&lt;DIV class="js-voting-container grid jc-center fd-column ai-stretch gs4 fc-black-200"&gt;&lt;DIV class="js-bookmark-count mt4"&gt;&lt;SPAN&gt;I have to integrate my external application with Alfresco using Alfresco Rest API's, Where I have to call these API's from my custom java microservices using OAuth/OAuth 2.0 instead of using Basic Auth. (There is a separate service account in AD which I have to use for calling ACS rest API's)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="js-bookmark-count mt4"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="js-bookmark-count mt4"&gt;&lt;SPAN&gt;Please let me know, how can I get the Auth Tokens for my service account user, so I can pass those tokens while calling rest API.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="postcell post-layout--right"&gt;&lt;DIV class="s-prose js-post-body"&gt;&lt;P&gt;Alfresco Version:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Alfresco Content Service 6.2.2 (Enterprise Edition)&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Jul 2021 12:11:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144074#M38245</guid>
      <dc:creator>talape_deepak</dc:creator>
      <dc:date>2021-07-06T12:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Alfresco Rest API's using OAuth instead of using Basic Auth?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144075#M38246</link>
      <description>&lt;P&gt;You have to use Identity Service.&lt;/P&gt;&lt;P&gt;Look at&amp;nbsp;&lt;A href="https://docs.google.com/document/d/e/2PACX-1vR0gPSSBzfA4-J-ncau6gHolRKk7sBXkiiTufJQ5cQRJED05fea9l5FpkYrEFKJm_MjF7fwrQ-u6AFg/pub#h.cjgd5xxfs6bq" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.google.com/document/d/e/2PACX-1vR0gPSSBzfA4-J-ncau6gHolRKk7sBXkiiTufJQ5cQRJED05fea9l5FpkYrEFKJm_MjF7fwrQ-u6AFg/pub#h.cjgd5xxfs6bq&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 13:11:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144075#M38246</guid>
      <dc:creator>ilseva</dc:creator>
      <dc:date>2021-07-06T13:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Alfresco Rest API's using OAuth instead of using Basic Auth?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144076#M38247</link>
      <description>&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/86128"&gt;@ilseva&lt;/A&gt;&amp;nbsp;Thanks for the quick response.&lt;/P&gt;&lt;P&gt;Actually, we have already configured the&amp;nbsp;identity service with keycloak, and all the AD user's are able to login to ACS Share using SSO.&lt;/P&gt;&lt;P&gt;But, I am not understanding which URL's I have to use for getting auth token before calling the ACS rest API from external application.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share the API urls to get the auth token and the sequence in which I have to call them before calling Actual Alfresco API.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If possible, please share the exact url which i can use from postman to get auth token's and later I can use those auth tokens to call Alfresco API.&lt;/P&gt;&lt;P&gt;Any suggestions or inputs will be really appreciated.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jul 2021 17:50:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144076#M38247</guid>
      <dc:creator>talape_deepak</dc:creator>
      <dc:date>2021-07-06T17:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Alfresco Rest API's using OAuth instead of using Basic Auth?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144077#M38248</link>
      <description>&lt;P&gt;I think that the URL you have to call to obtain the token&amp;nbsp;has nothing to do with alfresco.&lt;/P&gt;&lt;P&gt;You have to use Keycloak API:&amp;nbsp;&lt;A href="https://www.keycloak.org/docs/latest/authorization_services/#_service_overview" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.keycloak.org/docs/latest/authorization_services/#_service_overview&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 07:15:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144077#M38248</guid>
      <dc:creator>ilseva</dc:creator>
      <dc:date>2021-07-07T07:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to call Alfresco Rest API's using OAuth instead of using Basic Auth?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144078#M38249</link>
      <description>&lt;P&gt;I'm struggling with same dilemma. We have SSO configured and working for both Share and ADW to use two factor authentication for our user accounts. But, the only way I can figure out to connect to REST API is to use an INTERNAL Aflresco account and Basic Authorization (single factor authentication; ID and password only).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you figured out a way to connect to REST API through external authentication?&lt;/P&gt;&lt;P&gt;Support suggested using the ticket mechanism, but you have to make an API call to get the ticket and pass ID/password. I can't authenticate with my external user account with just ID/password; it requires 2FA through SSO.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Mar 2023 15:07:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-call-alfresco-rest-api-s-using-oauth-instead-of-using/m-p/144078#M38249</guid>
      <dc:creator>steve_savini</dc:creator>
      <dc:date>2023-03-06T15:07:17Z</dc:date>
    </item>
  </channel>
</rss>

