Merge pull request #22966 from overleaf/jel-saml-error

[web] Check for requester errors in SAML callback

GitOrigin-RevId: 491d7c85e859c503bade3b225a4596656dbfe84f
This commit is contained in:
Jessica Lawshe
2025-02-04 09:02:48 -06:00
committed by Copybot
parent bcd61354a8
commit 5e0dced989

View File

@@ -209,6 +209,8 @@ class SAMLSessionDataMissing extends BackwardCompatibleError {
}
}
class SAMLProviderRequesterError extends SAMLAuthenticationError {}
class ThirdPartyIdentityExistsError extends BackwardCompatibleError {
constructor(arg) {
super(arg)
@@ -328,6 +330,7 @@ module.exports = {
SAMLInvalidSignatureError,
SAMLMissingUserIdentifierError,
SAMLMissingSignatureError,
SAMLProviderRequesterError,
SAMLInvalidResponseError,
SAMLLoginFailureError,
SAMLEmailNotRecognizedError,