moodle-auth_saml2 icon indicating copy to clipboard operation
moodle-auth_saml2 copied to clipboard

WIP - allow Moodle to function as an IDP.

Open danmarsden opened this issue 1 year ago • 1 comments

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 avatar Jun 26 '24 01:06 danmarsden

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.

danmarsden avatar Jul 03 '24 02:07 danmarsden

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

mark-webster-catalyst avatar Nov 12 '24 12:11 mark-webster-catalyst

@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?

mark-webster-catalyst avatar Nov 13 '24 14:11 mark-webster-catalyst

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?

danmarsden avatar Nov 13 '24 20:11 danmarsden

Yup, that did it, thanks.

mark-webster-catalyst avatar Nov 14 '24 08:11 mark-webster-catalyst

@danmarsden Rebased on MOODLE_39_STABLE and Removed WIP. Ready for review.

mark-webster-catalyst avatar Nov 15 '24 10:11 mark-webster-catalyst

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.

danmarsden avatar Feb 16 '25 23:02 danmarsden