Explorar o código

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

[web] Check for requester errors in SAML callback

GitOrigin-RevId: 491d7c85e859c503bade3b225a4596656dbfe84f
Jessica Lawshe hai 1 ano
pai
achega
5e0dced989
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      services/web/app/src/Features/Errors/Errors.js

+ 3 - 0
services/web/app/src/Features/Errors/Errors.js

@@ -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,