You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: services/spar/src/Spar/Error.hs
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -115,6 +115,7 @@ data SparCustomError
115
115
SparInternalErrorLText
116
116
| --| All errors returned from SCIM handlers are wrapped into 'SparScimError'
117
117
SparScimErrorScim.ScimError
118
+
| SparIdPDomainInUse
118
119
deriving (Eq, Show)
119
120
120
121
dataSparProvisioningMoreThanOneIdP
@@ -234,6 +235,7 @@ renderSparError (SAML.CustomError (IdpDbError AttemptToGetV2IssuerViaV1API)) = R
234
235
renderSparError (SAML.CustomError (IdpDbErrorIdpNonUnique)) =Right$Wai.mkError status409 "idp-non-unique""We have found multiple IdPs with the same issuer. Please contact customer support."
235
236
renderSparError (SAML.CustomError (IdpDbErrorIdpWrongTeam)) =Right$Wai.mkError status409 "idp-wrong-team""The IdP is not part of this team."
renderSparError (SAML.CustomErrorSparIdPDomainInUse) =Right$Wai.mkError status409 "idp-duplicate-domain-for-team""This team already has an IdP configured for this domain."
0 commit comments