I'd like to use OAuth2 rather than shibboleth for our moodle setup (easier to manage).
We have Google G-Suite for education and the similar Microsoft thing. I would like to restrict account creation to the the users registered in our university g-suite and/or microsoft setup (i.e. in my case email@example.com).
Is this possible? I didn't see it in the OAuth2 documentation.