Ideal solution to check and approve users having certain email pattern when user account is created using social_auth_google

I am trying to auto approve users with emails having certain patterns when they create accounts using Social Auth Google. I checked for configurations that would allow this but after checking the code the best way seems to be to create an event listener when the user account is created. Is there a better way…

Details