<?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: Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57748#M20713</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So that means that the issue is currently happening during the login process that is making several calls to create the same user?, if so. maybe to correctly test this is to use&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-content-app" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-content-app&lt;/A&gt;, that to my knowledge is tested with&amp;nbsp;ACS 6.1 and integration with keycloak was working fine?, if this test have the same results duplicating the users then maybe I can create an issue in JIRA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe should I take another approach?, what do you think?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Mar 2019 16:00:06 GMT</pubDate>
    <dc:creator>pedrohernandez</dc:creator>
    <dc:date>2019-03-22T16:00:06Z</dc:date>
    <item>
      <title>Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57744#M20709</link>
      <description>Hello Everybody and thanks in advance for your help.We are implementing authentification with keycloak version keycloak: 4.8.3. Final, and we're having the issue that when logging in with any user, it enters in a loop while logging and it creates several duplicate users in alfresco, we wanted to kno</description>
      <pubDate>Wed, 20 Mar 2019 15:57:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57744#M20709</guid>
      <dc:creator>pedrohernandez</dc:creator>
      <dc:date>2019-03-20T15:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57745#M20710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting... it shouldn't actually be possible to create users with exactly the same name due to uniqueness constraints on the user name. I would bet this may not be a known issue (did you search JIRA for it?), since 6.1.2 GA is quite a new release and not a lot of people are using Alfresco with&amp;nbsp;Keycloak yet, especially since Share does not support it for single sign-on purposes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Mar 2019 20:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57745#M20710</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-03-20T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57746#M20711</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Axel, Thank you for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking in JIRA and couldn't find information, but first time using JIRA so I may have miss something. Some more information about the issue is that the logging is being made through ADF components, and when I logging it throw this exceptions on the logs:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INFO&amp;nbsp; [security.person.PersonServiceImpl] [http-nio-8080-exec-9] Splitting 1 duplicate person objects. then again:&lt;/P&gt;&lt;P&gt;INFO&amp;nbsp; [security.person.PersonServiceImpl] [http-nio-8080-exec-5] Splitting 2 duplicate person objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then:&lt;/P&gt;&lt;P&gt; [36malfresco_1 | [0m 2019-03-20 15:33:32,947 INFO [security.person.PersonServiceImpl] [http-nio-8080-exec-2] Splitting 2 duplicate person objects.&lt;BR /&gt; [36malfresco_1 | [0m 2019-03-20 15:33:32,974 INFO [security.person.PersonServiceImpl] [http-nio-8080-exec-9] Splitting 2 duplicate person objects.&lt;BR /&gt; [36malfresco_1 | [0m 2019-03-20 15:33:33,001 INFO [security.person.PersonServiceImpl] [http-nio-8080-exec-1] Splitting 2 duplicate person objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INFO [security.person.PersonServiceImpl] [http-nio-8080-exec-7] Splitting 2 duplicate person objects.&lt;BR /&gt;INFO [security.person.PersonServiceImpl] [http-nio-8080-exec-7] New person object: pedrodc7c953d-5366-482e-8ca6-ab0ca533f9d5&lt;BR /&gt;INFO [security.person.PersonServiceImpl] [http-nio-8080-exec-7] New person object: pedroc3454366-51e9-47f3-b6b9-88e5e8e75b2e&lt;BR /&gt;[security.person.PersonServiceImpl] [http-nio-8080-exec-7] Split 2 duplicate person objects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2019 13:04:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57746#M20711</guid>
      <dc:creator>pedrohernandez</dc:creator>
      <dc:date>2019-03-21T13:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57747#M20712</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ahh... that split handling is a very specific segment of code where Alfresco internally sets a special flag to allow duplicate user IDs for the transaction in which they are created. Come to look at it, this specific code has been in Alfresco for a long time. It is triggered only when more than one person with the identical name already exists, so it is only responsible for any subsequent duplication but not for the very first one. Essentially, it can split person objects in every read-write transaction where a specific lookup API is called/invoked in Java.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 14:58:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57747#M20712</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-03-22T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57748#M20713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So that means that the issue is currently happening during the login process that is making several calls to create the same user?, if so. maybe to correctly test this is to use&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-content-app" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-content-app&lt;/A&gt;, that to my knowledge is tested with&amp;nbsp;ACS 6.1 and integration with keycloak was working fine?, if this test have the same results duplicating the users then maybe I can create an issue in JIRA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe should I take another approach?, what do you think?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2019 16:00:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57748#M20713</guid>
      <dc:creator>pedrohernandez</dc:creator>
      <dc:date>2019-03-22T16:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57749#M20714</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/36741"&gt;@pedrohernandez&lt;/A&gt;&amp;nbsp; and&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/16045"&gt;@afaust&lt;/A&gt;, I'm also having this exact problem. I'm seeing the same things in the logs. Was there any resolution on this problem?&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Damien.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 05:06:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57749#M20714</guid>
      <dc:creator>damien_rider</dc:creator>
      <dc:date>2019-09-23T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco ACS 6.1.2ga SSO Authentification with keycloak duplicating users</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57750#M20715</link>
      <description>&lt;P&gt;After the original post, I have now been using Keycloak at a customer too. I have never been able to reproduce the core issue, e.g. what caused the first duplication. Essentially, the simplest way to fix the issue "should" be to delete all the duplicated person objects, and then the logic in PersonService which creates further duplicates should not be triggered again.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2019 07:12:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/alfresco-acs-6-1-2ga-sso-authentification-with-keycloak/m-p/57750#M20715</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2019-09-23T07:12:11Z</dc:date>
    </item>
  </channel>
</rss>

