def get_enterprise_customer_for_sso(sso_provider_id):
try:<EOL><INDENT>return EnterpriseCustomer.objects.get(  <EOL>enterprise_customer_identity_provider__provider_id=sso_provider_id<EOL>)<EOL><DEDENT>except EnterpriseCustomer.DoesNotExist:<EOL><INDENT>return None<EOL><DEDENT>
Get the EnterpriseCustomer object tied to an identity provider.