10-19-2023 02:09 AM
I am trying to configure ACS with IDS.
I followed https://docs.alfresco.com/identity-service/latest/install/zip/ 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.
Added the below properties in alf_data\tomcat\webapps\share\WEB-INF\classes\share-config.properties
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
Added the below properties in alf_data\tomcat\shared\classes\alfresco-global.properties
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
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.
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
Am I missing any other configuration or configured something wrong ?
Can someone please help me resolve this ?
05-28-2024 07:44 PM
share-config-custom.xml
<!-- AIMS -->
<config evaluator="string-compare" condition="AIMS">
<enabled>true</enabled>
<realm>alfresco</realm>
<resource>share</resource>
<authServerUrl>http://acs.alf.com/auth</authServerUrl>
<sslRequired>none</sslRequired>
<publicClient>true</publicClient>
<autodetectBearerOnly>true</autodetectBearerOnly>
<alwaysRefreshToken>true</alwaysRefreshToken>
<principalAttribute>email</principalAttribute>
<enableBasicAuth>true</enableBasicAuth>
</config>
https://docs.alfresco.com/identity-service/latest/tutorial/sso/saml/
Best Regards
Mehmet Demirel
SelenSoft
Alfresco Community Türkiye
Explore our Alfresco products with the links below. Use labels to filter content by product module.