Google OAuth2 domain filtering

I successfully installed Open edX using the Tutor method and integrated Google OAuth2. However, I now need to give access to only a specific email domain (i.e. .x.y.z). Can someone guide me on how to achieve this, if there is proper documentation available, I would highly appreciate it.

I have not seen any documentation regarding this for Open edX, but you can try the following settings for social-core which edx-platform uses for OAuth2 support.

https://python-social-auth.readthedocs.io/en/latest/configuration/settings.html#whitelists

1 Like

Thank you, sir. I’m a bit new to the platform and I’m having trouble applying those parameters. Could you please guide me on how to use them step by step?

https://discuss.openedx.org/search?q=SOCIAL_AUTH_