simplesamlphp / simplesamlphp/simplesamlphp-module-oidc
are_multiple_claim_values_allowed controls all claims in a scope
还没有人认领这个 Issue。
- 主要语言
- PHP
- 星标
- 50
- 派生
- 28
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 2
描述
If I set are_multiple_claim_values_allowed to true in a custom scope eduperson, which I need for eduperson_affiliation, eduperson_principal_name also becomes a list even if it contains only one value (and is defined as single-valued).
Maybe the are_multiple_claim_values_allowed setting should live at the claim definition level instead of scope?
Or: Always send single valued claims as string and expand to list if are_multiple_claim_values_allowed is set to true at the scope level, this would be the least intrusive refactor. But the downside is that this behaviour would be unpredictable for the RP.
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先追踪设置 are_multiple_claim_values_allowed 如何应用于 scope 内的 claims,重点关注 eduperson_affiliation 和 eduperson_principal_name。将当前行为与建议的 claim 级别和 scope 级别替代方案进行比较。当项目针对单值 claims 和多值 claims 形成一条经过同意且可预测的规则,并由相关测试覆盖时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- php
- 领域
- authentication
- Issue 类型
- 缺陷
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100