Skip to content

feat(ldap-auth): make querying user groups possible#2585

Open
cchndl wants to merge 1 commit intoSciCatProject:masterfrom
cchndl:groups-from-ldap
Open

feat(ldap-auth): make querying user groups possible#2585
cchndl wants to merge 1 commit intoSciCatProject:masterfrom
cchndl:groups-from-ldap

Conversation

@cchndl
Copy link
Contributor

@cchndl cchndl commented Mar 3, 2026

The ldap authenticator did not query the groups from ldap until now.

Add the required config options for getting the groups from ldap. For this we just expose the existing options from node-ldapauth-fork/passport-ldapauth from the SciCat config.
Add a group extraction service for the LDAP response and register it to the servicefactory if enabled.

Additional fixes:
The AccessGroupFromPayloadService did not correctly check whether the elements in payload[accessGroupsProperty] are strings.

add config options and use correct accessGroupProperty and add group
extracting service
@cchndl cchndl requested a review from a team as a code owner March 3, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant