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.
تتيح وحدة @reswild استخدام Discourse كـ مزود خدمة (السماح لمستخدمي SimpleSAML بتسجيل الدخول إلى Discourse تلقائيًا إذا تم مصادقتهم في SimpleSAML)
إليك وحدة مصادقة جديدة تمامًا كتبتها لتمكين استخدام Discourse كـ مزود هوية (استخدام حسابات Discourse للمصادقة في SimpleSAML - وبالتالي المصادقة تلقائيًا على خدمات SP الأخرى): GitHub - swcc/simplesamlphp-module-authdiscourse · GitHub