simplesamlphp / simplesamlphp/simplesamlphp-module-oidc

Feature request: allow to specify the client_id

未关闭
#358 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
PHP
星标
50
派生
28
平均合并
1 分钟
30 天内合并 PR
2

描述

When registering a new client, the client_id is auto-generated and not very human-read/write friendly.

There are use cases where users are expected to provide the client_id themselves in UI. Example: Thunderbird Beta provides a "Custom OAuth Configuration" dialog, see below.

Image

I already commented to Mozilla regarding the use of one .well-known URL instead of 3 to 4 free-text fields ( https://bugzilla.mozilla.org/show_bug.cgi?id=1602166#c58 ) but what remains is the client_id as an extra hurdle.

For a public client, being able to choose a user-friendly string such as "MozillaThunderbird" would reduce error-proneness of OAuth2 configuration there.

The suggestion is thus to enrich the Client Registration UI in the SSP admin portal such that a client_id is auto-generated, but make it a suggestion end changeable in UI.

贡献指南

这个仓库没有索引到贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 SSP 管理门户中的 Client Registration UI 开始,跟踪 client_id 的生成和提交方式。检查现有的注册流程及其测试(如果有)。当生成的 client_id 以可编辑的建议值显示,并且新 public client 接受用户提供的值时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
php
领域
authentication
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。