Unable to Login with Default Admin User after LDAP integration

After LDAP integration, I’m unable to log in as the default admin user. Any help is appreciated.
To clarify, In the docker-compose.yml I still have the following lines.

        - FLOWABLE_IDM_APP_ADMIN_USER_ID=flowable
        - FLOWABLE_IDM_APP_ADMIN_PASSWORD=test
        - FLOWABLE_IDM_APP_ADMIN_FIRST_NAME=admin
        - FLOWABLE_COMMON_APP_IDM_ADMIN_USER=admin
        - FLOWABLE_COMMON_APP_IDM_ADMIN_PASSWORD=test
        #FLowable-Ldap Configuration
        - FLOWABLE_IDM_LDAP_ENABLED=true
        - FLOWABLE_IDM_LDAP_SERVER=ldap://abcdevfgth.com
        - FLOWABLE_IDM_LDAP_PORT=111
        - FLOWABLE_IDM_LDAP_USER=cn=admin,dc=abcdevfgth,dc=com
        - FLOWABLE_IDM_LDAP_PASSWORD=admin
        - FLOWABLE_IDM_LDAP_BASE_DN=dc=abcdevfgth,dc=com

image

Hey @shamalk,

The properties prefixed with FLOWABLE_ID_APP_ADMIN are for bootstraping the application (creating an initial admin user if there is none). However, you have LDAP enabled and in this case, no users are created. You need to use the users which are in your LDAP to login.

Cheers,
Filip

Hi @filiphr,
The issue is that for the LDAP users to be able to log in, the users have to be given permission in the Flowable-IDM.
To give the users the permission, I need a default user to log in to Flowable-IDM.

Appreciate your help.

Thanks.

See:

Ref:

1 Like

Docs you linked are not useful.
I can login with LDAP userId and password but none has admin privileges to show apps!

To directly edit DB table act_id_priv_mapping and change user_id_ from admin to an LDAP user name worked for me.