Custom login with credentials stored in another server

Is there a way to authenticate a user by storing his username and password in another server and only storing a reference userId in the cuba database ?
How can we customise the doLogin function ??

Any updates ??
Since the secUser table has username and password as mandatory fields, how can we use this table only for storing username and userId(for reference) without password ?? @tsarev

Hello @stephy

I suggest you to read about LDAP integration and take a look at our LDAP integration Add-on: CUBA Marketplace.


Thank you :slight_smile: