Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Htpasswd should not enforce the uid attribute

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

還沒有人認領這個 Issue。

評估

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

研究方向

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

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

描述

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.

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

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

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

相似的 Issue

更多 PHP Issue

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

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