simplesamlphp / simplesamlphp/simplesamlphp-module-discopower

Filter entities globally?

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

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

主要言語
PHP
スター
5
フォーク
11
PR マージ指標
30日以内にマージされた PR はありません

説明

According to the docs, filtering identity providers is possible per SP.

We have 100s of SPs, and now I'm looking for a way to show a specific IdP only for a few SPs.

The only way I could make this work was by applying a snippet to those few SPs:

  'discopower.filter' => [
      'tags.include' => [
         'all'
      ],
      'entities.include' => [
          'https://needle.idp',
      ],
  ],

and then on every other SP excluding it:

  'discopower.filter' => [
      'entities.exclude' => [
          'https://needle.idp',
      ],
  ],

As said this works but a bit cumbersome as I'd have to make sure this will be there for each new SP etc.

Would it makes sense to be able to supply such a config at a higher level, for example in saml20-idp-hosted.php or some other place?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

docs/discopower.md のフィルタリングセクションから始め、そこにある SP ごとの設定と、提案されている saml20-idp-hosted.php の配置場所を比較します。各 SP の discovery フィルターがどのように読み込まれるかを追跡し、より上位の設定を適用できる場所を特定します。すべての SP にスニペットを追加せずに、目的の IdP の可視性をグローバルに設定できれば完了です。

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

評価

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

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

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