Filtering specific domains' users to log in

Google Oauth2 was successfully initiated after I installed Open Edx in the tutor approach.
Can we restrict our login users to certain domains? Can anyone provide me a clear walk explanation on how to achieve it because I am new to Open Edx.