OAuth2/OIDC logins could be limited to email domains with
OAUTH2_ALLOWED_EMAIL_DOMAINS, but the Meteor login providers (Google,
GitHub, Facebook, X, Meteor Developer, Weibo, Meetup) let anyone with an
account there sign in. OAUTH_PROVIDERS_ALLOWED_EMAIL_DOMAINS, or the new
field under Admin Panel / People / OAuth login providers, restricts them
with the same rule and the same policy code. It is checked before an account
is created or merged, and on every later login, so narrowing the list also
applies to existing accounts. A provider that sends no email is refused while
a restriction is set, and a list that is not domain names is refused when
saved instead of locking everyone out.
Listed on every platform. New text is in English, pending Transifex.
Thanks to jakubgs and xet7 !
Fixes#1904.