Having struggled for several days to created a working MNet Hub as per the documentation here:
https://docs.moodle.org/30/en/MNet
I have failed to make a network where I can implement single sign-on.
If anyone is willing to help me, I would be prepared to re-write the documentation on MHub to make it easier for others to do this too.
The effect of other options and situations on MNet functionality are, for me at least, unclear.
Take the following situation for example:
I have an MNet hub set up and "Moodle-A" as a peer. If I have "Email-based self-registration" enabled and "MNet authentication" I would expect that registering a new user on Moodle-A would actually put their registration data on the MNet Hub. But it doesn't - the user only exists on the Moodle-A server.
Another situation:
I have an MNet Hub and Moodle-A and Moodle-B set up as peers. Mary is allowed to access Moodle-A and Moodle-B. John is only allowed to access Moodle-A. I don't see how MNet Hub allows me to authorise access in this manner.
Some of the documentation I found seems to imply that perhaps a course needs to be available on the peer Moodles before peer-specific access can be applied.
It is also unclear what, if any, other choices (such as location of the moodledata directory, MySQL database, etc.) might effect successful operation on MNet.
Drop me a line here if you are willing to help me tackle this - I am sure there will be plenty of users who would be happy to have a clearer explanation of MNet too.
Thanks!