Merge pull request #16791 from overleaf/jel-saml-audience

[web] Handle the SAML error of a SP entity ID mismatch in the response

GitOrigin-RevId: d8168d4ce77f4e810df193dae98046da07e6c0ae
This commit is contained in:
Jessica Lawshe 2024-02-01 10:09:54 -06:00 committed by Copybot
parent 59d4f0e5a2
commit 3748621bcd

View file

@ -95,6 +95,7 @@ class SAMLAuthenticationError extends OError {
return 'saml_auth_error' return 'saml_auth_error'
} }
} }
class SAMLAssertionAudienceMismatch extends SAMLAuthenticationError {}
class SAMLAuthenticationRequiredError extends SAMLAuthenticationError { class SAMLAuthenticationRequiredError extends SAMLAuthenticationError {
get i18nKey() { get i18nKey() {
@ -281,6 +282,7 @@ module.exports = {
InvalidError, InvalidError,
NotInV2Error, NotInV2Error,
OutputFileFetchFailedError, OutputFileFetchFailedError,
SAMLAssertionAudienceMismatch,
SAMLAuthenticationRequiredError, SAMLAuthenticationRequiredError,
SAMLIdentityExistsError, SAMLIdentityExistsError,
SAMLAlreadyLinkedError, SAMLAlreadyLinkedError,