Activate users with a specific domain Directly

Hey guys,

I had a question. Last time I tried the Office 365 Oauth plugin (Office365 OAuth2 Plugin)
Now I asked myself if it was possible to only allow certain emails from certain domains (,,, and so on).

Is it also possible if they log in via the office 365 oAuth2 to activate these accounts (on a private discourse installation)