Skip to content

LDAP Authentication - Validating Groups of a user #909

@hemantsharma90

Description

@hemantsharma90

This is regarding user authentication on Git Proxy using LDAP.

As per the below file in GitProxy Source Code is making a GET API Call for fetching the LDAP Group Details of a particular user.

src/service/passport/ldaphelper.js

Image

And that configuration needs to be a part of proxy.config.json file (like below is our assumption).

"api": {
"ls": {
"userInADGroup": "<API call to be used??>"
}
}

1.Is our understanding correct ?

2.Is there any sample isUserinAdGroup config you could provide for the same as we could see that the Strings , and are being replaced with the actual values in the config string?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions