SimpleSAMLphp 用の Discourse SSO モジュール

Hi everyone,

I’ve put together a SimpleSAMLphp module for connecting to Discourse SSO: GitHub - reswild/discourse: Discourse SSO module for SimpleSAMLphp

The code that does all the work is taken from cviebrock/discourse-php, so all I did was hook this up to a SimpleSAML authentication source. I haven’t tested it too much so far, but in theory it should work with any authentication source supported by SimpleSAMLphp, so SAML, Shibboleth, CAS, OpenID, OAuth, and many others. For more information, see https://simplesamlphp.org/.

This is the first SimpleSAMLphp module I’ve written, so any comments or suggestions are welcome.

「いいね!」 4

@reswild さん、こんにちは

共有してくださってありがとうございます!SSO の設定は初めてで、素晴らしい SimpleSAML モジュールを見つけました。ただ、いくつか質問があります。

  • あなたの SimpleSAML モジュールは、Discourse をサービスプロバイダーとして使用するためのものですか(つまり、SimpleSAML のユーザーが Discourse に自動的にログインできるようにするものですか)?
  • あなたの SimpleSAML モジュールは、Discourse をアイデンティティプロバイダーとして使用するためのものですか(つまり、SimpleSAML がユーザーの認証を Discourse アプリケーションに委任できるようにするものですか)?

ドキュメントから判断すると、Discourse を SP(サービスプロバイダー)として使用するモジュールのようですが、SimpleSAML が Discourse を IP(アイデンティティプロバイダー)として使用するように設定する方法について、何かご存知でしょうか?

ご支援いただき、ありがとうございます!

自分で質問に答えます:

  • @reswild のモジュールは、Discourse を サービスプロバイダー として使用可能にします(SimpleSAML で認証されている場合、SimpleSAML ユーザーが自動的に Discourse にログインできます)。
  • ここに、Discourse を アイデンティティプロバイダー として使用可能にするために私が作成した新しい認証モジュールがあります(Discourse アカウントを使用して SimpleSAML で認証し、それによって 他のサービス SP で自動的に認証されます):GitHub - swcc/simplesamlphp-module-authdiscourse · GitHub

これが他の人のお役に立てれば幸いです👋