simplesamlphp / simplesamlphp/simplesamlphp-module-authcrypt
Htpasswd should not enforce the uid attribute
未关闭
还没有人认领这个 Issue。
- 主要语言
- PHP
- 星标
- 5
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 src/Auth/Source/Htpasswd.php 第 100 行附近开始,将当前对 uid 的强制要求与链接的 SimpleSAMLphp 属性 NameFormat 文档进行比较。确定应如何使属性名称可配置,然后验证身份验证可以使用已配置的名称,而无需强制使用 uid。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- authentication
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100