alepensato
Yes, as they are considered pre-authorized users. For google, apparently you can restrict the App to a specific Organizational Unit (according to a random comment on StackOverflow).
Google also has a parameter called hd
that can restrict to a domain and we might implement this in the future. However, even this parameter is limited to either a single domain or an asterisk (what it uses currently). In theory though you could configure a separate plugin instance for each allowed domain.
Other than that, if you have complaints I’d recommend making a feature request with google to expand their filtering options for OAuth2.
Cheers.