simplesamlphp / simplesamlphp/simplesamlphp-module-ldap
LDAP Client x509 Certificate Authentication
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 5
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Google announced their LDAP service: https://support.google.com/cloudidentity/answer/9089736 and we wanted to see if we could get it working for our users.
However, it requires a client certificate to authenticate to the server, which SimpleSAMLphp doesn't support: https://simplesamlphp.org/docs/stable/ldap:ldap . It seems to only support username/password for client authentication.
It would be nice to be able to support client cert/key for authentication in addition to username/password. OpenLDAP supports it using TLS_CERT and TLS_KEY.
It seems that support for this may have only come into PHP in version 7.1: http://php.net/manual/en/function.ldap-set-option.php
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the SimpleSAMLphp LDAP documentation and PHP's ldap_set_option reference linked in the issue. Determine how client certificates and keys should be configured alongside username/password authentication, including the supported PHP versions. Done means LDAP authentication can use the certificate-based flow without removing the existing credential-based flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100