simplesamlphp / simplesamlphp/simplesamlphp-module-oidc

Feature request: allow to specify the client_id

オープン
#358 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
PHP
スター
50
フォーク
28
平均マージ
1分
マージ済み PR(30日)
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. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

SSP 管理ポータルの Client Registration UI から始め、client_id がどのように生成され、送信されるかを追跡します。既存の登録フローと、そのテストがあれば確認します。生成された client_id が編集可能な候補として表示され、新しい public client に対してユーザーが指定した値が受け入れられれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
php
領域
authentication
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。