Allow only email id with listed domain

Hi

I had configured googleoauth and want to allow only my comany domain(*.example.com) and only users that are created manually.

Can someone help on the same