I want to validate an email address on the domain before an account creation. I am using a organization level OAuth from microsoft, but i only want to allow users from paying organizations. I am using the oauth signin option. Can i block the account creation based on the domain? The code to check it i allready have, but cant figure out the moment when to trigger it.
TL;DR
Developers are seeking an alternative to validate email addresses on a domain before account creation while using OAuth from Microsoft. They want to restrict account creation to specific organizations. The code for validation is ready, but they're unsure of the optimal trigger point.