verdaccio-ldap
verdaccio-ldap copied to clipboard
authenticatedUserGroups wrong groups list
I see that the plugin should return a list of groups (https://verdaccio.org/docs/plugin-auth/#authentication-callback) and I see that that function always returns at least the user.cn (e.g. FirstName LastName), so the groups resolution is useless and the user is always logged in (using the right password).
https://github.com/Alexandre-io/verdaccio-ldap/blob/fde17d44ac81478b20e70cae680f2886f3abee4d/index.js#L15
Am I missing anything?!
Thanks in advance.