I have Google Flutter mobile up with Firebase functions, OAuth and DB I would like for all new users to only sign up via company emails no Hotmail or Gmail, etc. First, should this be done via Firebase DB rules, functions or should it be done in the mobile app with Google dart on signup?
And if so does anyone have some code examples to share or how to do this?