OAuth 2 Google workspace and groups

OAuth 2 Google workspace and groups

by Francesco Viali -
Number of replies: 0

Hi,

I enabled OAuth 2 authentication method with Google and it works like a charm.
I'm setting up moodle  as volonteer in a big nonprofit organization and I'm wondering if it's possibile to get from Google authentication the group to which the user belongs.

Sorry for my bad english, I'll try to explain it better:
In our Google admin console we have many users grouped in few groups.
What I would like to set-up is: when a user logs in in moodle using OAuth 2 authentication I'd like to show him only courses made for his group of users (groups are stored in google admin console)

Is there any way to set it up?

Average of ratings: -