Please fill out the following to the best of your ability. Doing so will help out the troubleshooting process
- What are you trying to achieve? What is the use case or idea behind it?
In my application, I have sign-in with Google since our company’s email provider is google. Though, I want to restrict the app to the domains ending with @weissmaler.de. I have created a pre-registration hook and/or rule to specify allowed domains. Though, I am still able to log-in with Google using my personal
@gmail.com email. Is there a way to implement such a logic?
If this is caused by an SDK please mention the SDK along with the specific version number.
Is this easily reproducible? If not, please explain.
Yes, as explained in the question
If this is related to Lock / any SDK please share the SDK as well as lock initialization code or any code that is relevant.
If this is an issue with an API please mention the endpoint you are trying to hit. Relevant code, and or a network trace, is really helpful when debugging such issues.
Environment-specific information (Which OS, Language Runtime + Version, Browser etc).