<?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 Cannot login to ACS using newly created user in keycloak in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/cannot-login-to-acs-using-newly-created-user-in-keycloak/m-p/132659#M35748</link>
    <description>&lt;P&gt;I am trying to configure ACS with IDS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed&amp;nbsp;&lt;A href="https://docs.alfresco.com/identity-service/latest/install/zip/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/identity-service/latest/install/zip/&lt;/A&gt; and brought the IDS up on my machine and running ACS also in local on Tomcat and configured it with IDS by adding the below properties.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Added the below properties in alf_data\tomcat\webapps\share\WEB-INF\classes\&lt;/SPAN&gt;share-config.properties&lt;/P&gt;&lt;PRE&gt;aims.enabled=true
aims.realm=alfresco
aims.resource=alfresco
aims.authServerUrl=http://localhost:8999/auth
aims.sslRequired=external
aims.publicClient=
aims.autodetectBearerOnly=
aims.alwaysRefreshToken=
aims.principalAttribute=sub
aims.enableBasicAuth=true&lt;/PRE&gt;&lt;P&gt;Added the below properties in&amp;nbsp;alf_data\tomcat\shared\classes\alfresco-global.properties&lt;/P&gt;&lt;PRE&gt;authentication.chain=identity-service1:identity-service,alfrescoNtlm1:alfrescoNtlm
identity-service.enable-basic-auth=true
identity-service.authentication.validation.failure.silent=false
identity-service.auth-server-url=http://localhost:8999/auth
identity-service.realm=alfresco
identity-service.resource=alfresco&lt;/PRE&gt;&lt;P&gt;And I've created a new user in keycloak under Alfresco realm using localhost:8999/auth and trying to login to the ACS using this new user credentials and getting the below error.&lt;/P&gt;&lt;PRE&gt;ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-8] Exception from executeScript: 09190061 User does not exist and could not be created: pardhu&lt;/PRE&gt;&lt;P&gt;Am I missing any other configuration or configured something wrong ?&lt;BR /&gt;Can someone please help me resolve this ?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2023 06:09:22 GMT</pubDate>
    <dc:creator>kota_pardhu</dc:creator>
    <dc:date>2023-10-19T06:09:22Z</dc:date>
    <item>
      <title>Cannot login to ACS using newly created user in keycloak</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cannot-login-to-acs-using-newly-created-user-in-keycloak/m-p/132659#M35748</link>
      <description>&lt;P&gt;I am trying to configure ACS with IDS.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed&amp;nbsp;&lt;A href="https://docs.alfresco.com/identity-service/latest/install/zip/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/identity-service/latest/install/zip/&lt;/A&gt; and brought the IDS up on my machine and running ACS also in local on Tomcat and configured it with IDS by adding the below properties.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Added the below properties in alf_data\tomcat\webapps\share\WEB-INF\classes\&lt;/SPAN&gt;share-config.properties&lt;/P&gt;&lt;PRE&gt;aims.enabled=true
aims.realm=alfresco
aims.resource=alfresco
aims.authServerUrl=http://localhost:8999/auth
aims.sslRequired=external
aims.publicClient=
aims.autodetectBearerOnly=
aims.alwaysRefreshToken=
aims.principalAttribute=sub
aims.enableBasicAuth=true&lt;/PRE&gt;&lt;P&gt;Added the below properties in&amp;nbsp;alf_data\tomcat\shared\classes\alfresco-global.properties&lt;/P&gt;&lt;PRE&gt;authentication.chain=identity-service1:identity-service,alfrescoNtlm1:alfrescoNtlm
identity-service.enable-basic-auth=true
identity-service.authentication.validation.failure.silent=false
identity-service.auth-server-url=http://localhost:8999/auth
identity-service.realm=alfresco
identity-service.resource=alfresco&lt;/PRE&gt;&lt;P&gt;And I've created a new user in keycloak under Alfresco realm using localhost:8999/auth and trying to login to the ACS using this new user credentials and getting the below error.&lt;/P&gt;&lt;PRE&gt;ERROR [org.springframework.extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-8] Exception from executeScript: 09190061 User does not exist and could not be created: pardhu&lt;/PRE&gt;&lt;P&gt;Am I missing any other configuration or configured something wrong ?&lt;BR /&gt;Can someone please help me resolve this ?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2023 06:09:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cannot-login-to-acs-using-newly-created-user-in-keycloak/m-p/132659#M35748</guid>
      <dc:creator>kota_pardhu</dc:creator>
      <dc:date>2023-10-19T06:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot login to ACS using newly created user in keycloak</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/cannot-login-to-acs-using-newly-created-user-in-keycloak/m-p/132660#M35749</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;I hope that will be useful.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Example my Url &lt;A href="http://acs.alf.com" target="_blank" rel="noopener nofollow noreferrer"&gt;http://acs.alf.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;alfresco-global.properties&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# ACS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;authentication.chain=&lt;/SPAN&gt;&lt;SPAN&gt;identity-service-1:identity-service,alfrescoNtlm-1:alfrescoNtlm&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.enable-basic-auth=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.auth-server-url=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://acs.alf.com/auth" target="_blank" rel="noopener nofollow noreferrer"&gt;http://acs.alf.com/auth&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.authentication.enabled=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.authentication.defaultAdministratorUserNames=&lt;/SPAN&gt;&lt;SPAN&gt;admin&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.authentication.validation.failure.silent=&lt;/SPAN&gt;&lt;SPAN&gt;false&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.realm=&lt;/SPAN&gt;&lt;SPAN&gt;alfresco&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.resource=&lt;/SPAN&gt;&lt;SPAN&gt;alfresco&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.public-client=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;identity-service.ssl-required=&lt;/SPAN&gt;&lt;SPAN&gt;none&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;csrf.filter.referer=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://acs.alf.com" target="_blank" rel="noopener nofollow noreferrer"&gt;http://acs.alf.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;csrf.filter.origin=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://acs.alf.com/*" target="_blank" rel="noopener nofollow noreferrer"&gt;http://acs.alf.com/*&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Alfresco Share AIMS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.enabled=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.realm=&lt;/SPAN&gt;&lt;SPAN&gt;alfresco&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.resource=&lt;/SPAN&gt;&lt;SPAN&gt;share&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.authServerUrl=&lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="http://acs.alf.com/auth" target="_blank" rel="noopener nofollow noreferrer"&gt;http://acs.alf.com/auth&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.publicClient=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.sslRequired=&lt;/SPAN&gt;&lt;SPAN&gt;none&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.autodetectBearerOnly=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.alwaysRefreshToken=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.enableBasicAuth=&lt;/SPAN&gt;&lt;SPAN&gt;true&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;aims.principalattribute=&lt;/SPAN&gt;&lt;SPAN&gt;email&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;#aims.secret=&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;share-config-custom.xml&lt;/P&gt;&lt;P&gt;&amp;lt;!-- AIMS --&amp;gt;&lt;BR /&gt;&amp;lt;config evaluator="string-compare" condition="AIMS"&amp;gt;&lt;BR /&gt;&amp;lt;enabled&amp;gt;true&amp;lt;/enabled&amp;gt;&lt;BR /&gt;&amp;lt;realm&amp;gt;alfresco&amp;lt;/realm&amp;gt;&lt;BR /&gt;&amp;lt;resource&amp;gt;share&amp;lt;/resource&amp;gt;&lt;BR /&gt;&amp;lt;authServerUrl&amp;gt;&lt;A href="http://acs.alf.com/auth" target="_blank" rel="noopener nofollow noreferrer"&gt;http://acs.alf.com/auth&lt;/A&gt;&amp;lt;/authServerUrl&amp;gt;&lt;BR /&gt;&amp;lt;sslRequired&amp;gt;none&amp;lt;/sslRequired&amp;gt;&lt;BR /&gt;&amp;lt;publicClient&amp;gt;true&amp;lt;/publicClient&amp;gt;&lt;BR /&gt;&amp;lt;autodetectBearerOnly&amp;gt;true&amp;lt;/autodetectBearerOnly&amp;gt;&lt;BR /&gt;&amp;lt;alwaysRefreshToken&amp;gt;true&amp;lt;/alwaysRefreshToken&amp;gt;&lt;BR /&gt;&amp;lt;principalAttribute&amp;gt;email&amp;lt;/principalAttribute&amp;gt;&lt;BR /&gt;&amp;lt;enableBasicAuth&amp;gt;true&amp;lt;/enableBasicAuth&amp;gt;&lt;BR /&gt;&amp;lt;/config&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.alfresco.com/identity-service/latest/tutorial/sso/saml/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.alfresco.com/identity-service/latest/tutorial/sso/saml/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Mehmet Demirel&lt;/P&gt;&lt;P&gt;SelenSoft&lt;/P&gt;&lt;P&gt;Alfresco Community Türkiye&lt;/P&gt;</description>
      <pubDate>Tue, 28 May 2024 23:44:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/cannot-login-to-acs-using-newly-created-user-in-keycloak/m-p/132660#M35749</guid>
      <dc:creator>unibravo</dc:creator>
      <dc:date>2024-05-28T23:44:56Z</dc:date>
    </item>
  </channel>
</rss>

