cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Community Edition with Keycloak

dharmendra_pan3
Confirmed Champ
Confirmed Champ

Hello,

I am trying to configure Keycloak SSO with Alfresco 7.2.1 community edition.

is it possible to use the Keycloak SSO tool without installing Alfresco Identity Service?

Alfresco Identity Service is also a wrapper of Keycloak and in my organization, we are already running Keycloak IDs and I just want to use it.

Has anyone configured Keycloak without installing Alfresco Identity Service? I am aware of an alfresco addon https://github.com/Acosix/alfresco-keycloak

Do I need to have to use Alfresco Identity Service to configure with Keycloak?

In global properties file -

authentication.chain=identity-service1:identity-service,external1:external,alfrescoNtlm1:alfrescoNtlm
identity-service.authentication.enabled=true
identity-service.enable-basic-auth=true
identity-service.authentication.defaultAdministratorUserNames=admin
identity-service.authentication.validation.failure.silent=true
identity-service.auth-server-url=https://****/auth
identity-service.resource=test
identity-service.realm=alfresco
identity-service.public-client=true
identity-service.ssl-required=none

In share config 

<config evaluator="string-compare" condition="AIMS" replace="true">
<enabled>true</enabled>
<realm>test</realm>
<resource>test</resource>
<authServerUrl>https://****/auth</authServerUrl>
<sslRequired>none</sslRequired>
<publicClient>true</publicClient>
</config>

Regards

Dharmendra

1 REPLY 1

angelborroy
Community Manager Community Manager
Community Manager

Try this approach:

https://github.com/aborroy/alfresco-identity-service-to-keycloak

Hyland Developer Evangelist