cancel
Showing results for 
Search instead for 
Did you mean: 

how to sync aps(users) with keycloak?

shadyuser
Champ on-the-rise
Champ on-the-rise

I am using the aps 1.9. i have integrated aps with keycloak. i am able to log in only if  user is available in both aps and keycloak. so, how to sync aps(users) with keycloak?

1 ACCEPTED ANSWER
15 REPLIES 15

bassam_al-saror
Star Collaborator
Star Collaborator

One way is to configure both APS and Keycloak to sync against an LDAP server.

shadyuser
Champ on-the-rise
Champ on-the-rise

hey Bassam Al-Sarori, i am having multiple ldap connected with keycloak. how do i sync in APS here?. ie i have to write custom extension. is there any pointer to do that?

APS doesn't read from multiple LDAP servers so yes you'll need to write a custom extension.

You can implement ExternalIdmSourceSyncService (or extend AbstractExternalIdmSourceSyncService) to write your own sync logic see an example here Example implementation | Alfresco Documentation 

shadyuser
Champ on-the-rise
Champ on-the-rise

In future, if client wants a social login or some login feature, again i have to do some stuff. 

so instead of writing custom extension to sync multiple ldap, i can sync with keycloak right. From keycloak i can do remaining stuff without affecting existing flow.

thanks for the pointers Bassam Al-Sarori‌ .