simplesamlphp / simplesamlphp/simplesamlphp-module-authcrypt

Htpasswd should not enforce the uid attribute

未關閉
#13 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
PHP
星號
5
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

The Htpasswd currently enforces the username to the uid attribute.

https://github.com/simplesamlphp/simplesamlphp-module-authcrypt/blob/689b2ee5975c81a451aa03672bc93cfff2be7e6c/src/Auth/Source/Htpasswd.php#L100

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從 src/Auth/Source/Htpasswd.php 約第 100 行開始,將目前對 uid 的強制要求與連結的 SimpleSAMLphp 屬性 NameFormat 文件進行比較。確定應如何讓屬性名稱可設定,然後驗證驗證流程可以使用已設定的名稱,而不強制使用 uid。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
php
領域
authentication
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。