WIP - allow Moodle to function as an IDP.
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.
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.
We'd like to use this for the Matrix integration so I'm going to pick this up. Will add settings page to:
- enable/disable being an IDP
- list valid SP URLs
@danmarsden I have a commit ready to push. Did you want it here or in another PR? If here could I have permission to push please?
cool! - looks like the EU team hadn't been added to this repo properly - I've just fixed that so hopefully you can push now?
Yup, that did it, thanks.
@danmarsden Rebased on MOODLE_39_STABLE and Removed WIP. Ready for review.
This is ready enough to land IMO - I've just merged it into our newer 405_STABLE branch for now.. I would like to see it backported to the older branches at some point but we can do that later.