<?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: External Authentication with Alfresco Community Edition in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87198#M26307</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i want to add the same functionality but i cannot find the tutorial you mentioned&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.johanet.fr/single-sign-on-with-alfresco-share-and-keycloak/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://blog.johanet.fr/single-sign-on-with-alfresco-share-and-keycloak/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;di you have any other reference or sample code ?&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 03:23:50 GMT</pubDate>
    <dc:creator>ayatullah</dc:creator>
    <dc:date>2021-09-23T03:23:50Z</dc:date>
    <item>
      <title>External Authentication with Alfresco Community Edition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87195#M26304</link>
      <description>&lt;P&gt;Hello there,&lt;/P&gt;&lt;P&gt;I need any help I can get by setting up an external authentication with alfresco share.&lt;BR /&gt;This will be a longer post explaining what I have tried up until now and what my target setup should look like.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resources&lt;/STRONG&gt;&lt;BR /&gt;------------------------&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;First I read the &lt;A title="Alfresco documentation" href="https://docs.alfresco.com/community/concepts/auth-config-examples.html" target="_blank" rel="noopener nofollow noreferrer"&gt;Alfresco documentation&lt;/A&gt; about authentication subsystems and the following chapters to get a grasp how it is configured.&lt;/LI&gt;&lt;LI&gt;Then I tried to follow this &lt;A href="https://blog.johanet.fr/single-sign-on-with-alfresco-share-and-keycloak/" target="_blank" rel="noopener nofollow noreferrer"&gt;Tutorial&lt;/A&gt;&amp;nbsp;as close as I could&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;Current Test Setup&lt;/STRONG&gt;&lt;BR /&gt;------------------------&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;LoadBalancer&lt;UL&gt;&lt;LI&gt;terminates SSL&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;Webserver (Linux)&lt;BR /&gt;&lt;UL&gt;&lt;LI&gt;httpd (http on port 80)&lt;UL&gt;&lt;LI&gt;Reverse Proxy to keycloak and alfresco&lt;/LI&gt;&lt;LI&gt;httpd.conf with CAS configuration from resource 2.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Keycloak (http on port 8080)&lt;UL&gt;&lt;LI&gt;CAS client&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Application Server (Linux)&lt;UL&gt;&lt;LI&gt;Alfresco 5.2&amp;nbsp; Tomcat (http on port 8080)&lt;UL&gt;&lt;LI&gt;share-config-custom.xml configuration from resource 2. and disabled CSRF Token Filter&lt;/LI&gt;&lt;LI&gt;alfresco-global.properties configuration from resource 2.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Current result:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;After beeing redirected to Keycloak and logged in there is a 504 Gateway Time-out&lt;/LI&gt;&lt;LI&gt;Nothing in the Alfresco Tomcat Logs&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Instead of Keycloak I also tried using a HTTP Basic Auth in the httpd webserver&lt;BR /&gt;The results have been similar dissapointing:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;After the Basic Auth dialog of the httpd, where I could authenticate another Basic Auth Popup from Alfresco pops up. This time the credentials are not accepted. When I cancel it I get redirected to the Login Page of "share"&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'd be grateful for any hint in the right direction, alternative working setups e.g. with shibboleth instead of keycloak or nginx instead of httpd&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My current config files for reference&lt;/STRONG&gt;&lt;BR /&gt;---------------------&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;&lt;A title="httpd.conf" href="https://pastebin.com/xW8KTzVx" target="_blank" rel="noopener nofollow noreferrer"&gt;httpd.conf (excerpt)&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A title="alfresco-global.conf" href="https://pastebin.com/uzYSYBfG" target="_blank" rel="noopener nofollow noreferrer"&gt;alfresco-global.conf&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A title="shared-config-custom.xml" href="https://pastebin.com/qrVSnawV" target="_blank" rel="noopener nofollow noreferrer"&gt;shared-config-custom.xml&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 28 Jul 2020 10:25:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87195#M26304</guid>
      <dc:creator>parnold</dc:creator>
      <dc:date>2020-07-28T10:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: External Authentication with Alfresco Community Edition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87196#M26305</link>
      <description>&lt;P&gt;I am facing the same issue with Alfresco Community 6.2.x . Anyone can help? Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 15:33:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87196#M26305</guid>
      <dc:creator>THAUSSIG</dc:creator>
      <dc:date>2020-08-10T15:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: External Authentication with Alfresco Community Edition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87197#M26306</link>
      <description>&lt;P&gt;Before working on the full stack, I suggest you to try access directly to alfresco share in order to make sure the externalAuth configuration is working. You can do that by using a Chrome header extension like ModHeader (or similar for Firefox). Open ModHeader settings and put this:&lt;/P&gt;&lt;PRE&gt;X-Alfresco-Remote-User=your_username&lt;/PRE&gt;&lt;P&gt;and go to http://alfresco_host:8080/share ...you should see the share dashboard page without login. To log more info append this on alfresco log4j.properties:&lt;/P&gt;&lt;PRE&gt;log4j.logger.org.alfresco.repo.security.authentication.external=DEBUG
log4j.logger.org.alfresco.repo.security.authentication.SimpleAcceptOrRejectAllAuthenticationComponentImpl=DEBUG
log4j.logger.org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService=DEBUG&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Apr 2021 16:55:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87197#M26306</guid>
      <dc:creator>joe_l3</dc:creator>
      <dc:date>2021-04-29T16:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: External Authentication with Alfresco Community Edition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87198#M26307</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i want to add the same functionality but i cannot find the tutorial you mentioned&lt;/P&gt;&lt;P&gt;&lt;A href="https://blog.johanet.fr/single-sign-on-with-alfresco-share-and-keycloak/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://blog.johanet.fr/single-sign-on-with-alfresco-share-and-keycloak/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;di you have any other reference or sample code ?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 03:23:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87198#M26307</guid>
      <dc:creator>ayatullah</dc:creator>
      <dc:date>2021-09-23T03:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: External Authentication with Alfresco Community Edition</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87199#M26308</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to do the same with ACS 7.2 (installed in docker with alfresco-docker-installer).&lt;/P&gt;&lt;P&gt;I understand that the thing I should do is adding to the JAVA_OPTS settings this:&lt;/P&gt;&lt;PRE&gt;...&lt;BR /&gt;&lt;SPAN&gt;services: &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;alfresco:&lt;BR /&gt;&lt;/SPAN&gt;...&lt;BR /&gt;&lt;SPAN&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;JAVA_OPTS : '&lt;BR /&gt;...&lt;BR /&gt;&lt;/SPAN&gt;               -Dauthentication.chain=external1:external,alfrescoNtlm1:alfrescoNtlm
               -Dexternal.authentication.proxyUserName=
               -Dexternal.authentication.enabled=true
               -Dexternal.authentication.defaultAdministratorUserNames=admin
               -Dexternal.authentication.proxyHeader=X-Alfresco-Remote-User&lt;BR /&gt;           '&lt;BR /&gt;...&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Then for a testing I set a header in my browser with ModHeader as "X-Alfresco-Remote-User: &amp;lt;myusername&amp;gt;" and open the Share url for my instance (or /alfresco). But I keep getting the usual login screen as if nothing has changed.&lt;/P&gt;&lt;P&gt;There must be some step that I'm missing..?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Luigi&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 17:39:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/external-authentication-with-alfresco-community-edition/m-p/87199#M26308</guid>
      <dc:creator>LoneStar</dc:creator>
      <dc:date>2022-11-19T17:39:40Z</dc:date>
    </item>
  </channel>
</rss>

