verdaccio-ldap icon indicating copy to clipboard operation
verdaccio-ldap copied to clipboard

authenticatedUserGroups wrong groups list

Open devilmark84 opened this issue 1 year ago • 0 comments

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.

devilmark84 avatar Oct 02 '24 23:10 devilmark84