simplesamlphp / simplesamlphp/simplesamlphp-module-authcrypt
Htpasswd should not enforce the uid attribute
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 5
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
The Htpasswd currently enforces the username to the uid attribute.
Ideally this attribute should be user configurable.
The documentation recommends to use urn:oasis:names:tc:SAML:2.0:attrname-format:uri for attribute's NameFormat but forcing the attribute name to uid goes against this.
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 in src/Auth/Source/Htpasswd.php around line 100 and compare the current uid enforcement with the linked SimpleSAMLphp attribute NameFormat documentation. Determine how the attribute name should be made configurable, then verify that authentication can use the configured name without forcing uid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100