
Product
Secure Your AI-Generated Code with Socket MCP
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
github.com/stregouet/hydra-ldap
Hydra-ldap is an Identity Provider for Ory Hydra over LDAP.
It starts as a fork from Werther, then I rewrite it for different reasons:
Hydra-ldap uses viper under the hood, so you can configure it either with yaml, toml, json file or environment variables.
config.yml is an example of configuration with some explanations.
User is authorized to access a particular oauth2 client (relying party) if:
userFilter
(cf. internal/ldap/ldap.go
)groupbasedn
concatenated with
ou=CLIENT-ID
where CLIENT-ID
should be the client id as defined in your
hydra server.So for example with the following LDAP tree:
dc=example,dc=com
|-- ou=users
|-- uid=jdupont
|-- uid=babar
|-- ou=apps
|-- ou=clientid
|-- cn=basicuser
member: uid=jdupont,ou=users,dc=example,dc=com
user jdupont
is allowed to access relying party with hydra id clientid
but
not user babar
The code in this project is licensed under [MIT license][LICENSE].
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket MCP brings real-time security checks to AI-generated code, helping developers catch risky dependencies before they enter the codebase.
Security News
As vulnerability data bottlenecks grow, the federal government is formally investigating NIST’s handling of the National Vulnerability Database.
Research
Security News
Socket’s Threat Research Team has uncovered 60 npm packages using post-install scripts to silently exfiltrate hostnames, IP addresses, DNS servers, and user directories to a Discord-controlled endpoint.