I am building a community portal where I will use OAuth2 to link the provider and Discourse. I want to allow email login only if the email is invited to the community (so there should be no registration button), but I want to allow all OAuth2 logins.
I cannot seem to work this out with the OAuth2 / Login settings. Is it possible? Essentially, I want to override the registration settings for OAuth2.