feat: program_enrollments support for multiple SAML providers

This commit is contained in:
Zach Hancock
2021-07-09 15:57:42 -04:00
committed by Matt Hughes
parent b00f508b79
commit aa2bf9c063
7 changed files with 78 additions and 63 deletions

View File

@@ -53,15 +53,3 @@ class ProviderDoesNotExistException(Exception):
return 'Unable to find organization for short_name {}'.format(
self.organization.id
)
class ProviderConfigurationException(Exception):
def __init__(self, organization):
self.organization = organization
def __str__(self):
return (
'Multiple active SAML configurations found for organization={}. '
'Expected one.'
).format(self.organization.short_name)