catalyst / moodle-auth_saml2

SAML done 100% in Moodle, fast, simple, secure
https://moodle.org/plugins/auth_saml2
70 stars 132 forks source link

WIP - allow Moodle to function as an IDP. #820

Open danmarsden opened 1 week ago

danmarsden commented 1 week ago

Dropping this in as draft WIP code that allows Moodle to function as an IDP.

This should have a setting that turns the feature on/off and needs some further work before merging, but dropping it here in case someone else wants to pick it up and clean it up.

danmarsden commented 1 day ago

this is basically in a working state now (tested with a few different SPs) , however we still need to add some validation that a known SP is trying to use the IDP.