Is there an easy way to determine if an email domain is associated with an enterprise SSO connection?
We are currently using a database connection. When we add a new user to our application, we immediately provision that user in Auth0.
We are now giving customers the option to use enterprise SSO. In that case, we don’t want to provision the user when the user is added to our application - we’re using a post login script to provision the user after their initial login.
My thought is to use the management api connections endpoint to retrieve all SSO domains at application startup, then ignore provisioning if the user email’s domain is within the domain collection. Is this the best way to accomplish this?