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?
Solved! Go to Solution.
Have a look at this post it might be useful
SwazzyNotes, Designs, and SolutionsUser Synchronization in APS from Keycloak
One way is to configure both APS and Keycloak to sync against an LDAP server.
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
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 .
it will be good if you add this feature to aps.
hi Bassam Al-Sarori, this is like repeating the same task(multiple ldap config) in both keycloak and aps. so i don't want to write custom exception to sync multiple ldap. is there any other way?.
Have a look at this post it might be useful
SwazzyNotes, Designs, and SolutionsUser Synchronization in APS from Keycloak
hey Bassam Al-Sarori, how do i configure super admin user in keycloak ?
i have changed the following properties in activiti-app.properties like below,
admin.email=
admin.passwordHash=
admin.lastname=
admin.group=
In keycloak, i have created super admin group. am i missing something? feel free to correct me.
The default admin user needs to be created in APS so you need to set those properties. Then create the same user on Keycloak.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.