Oauth login: restrict list of domains

Hi!

I have an on-server installations of Seatable adnd a few domains based on cloud mail provider, with Oauth support.
I configured oauth integration and users can register via provider. But now ANY user ot this provider can create the account (not only our domains).
Is it possible to confiure the list of allowed domains?

I am thinking of workaround: register users in deactivated state and run side-script, that checks users table and activates good users / deletes bad users. May be there is a better solution?