mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #31416 from overleaf/jel-saml-session-missing
[web] Throw instance of `SAMLAuthenticationError` when missing session data and show error message GitOrigin-RevId: e64ec571a127367a27eb032bd4a22c90124e8b0f
This commit is contained in:
@@ -221,6 +221,12 @@ class SAMLGroupMemberLimitReachedError extends OError {}
|
||||
|
||||
class SAMLDomainCaptureManagedOptInUserMissingEmailError extends SAMLDomainCaptureError {}
|
||||
|
||||
class SAMLSessionProviderDataMissing extends SAMLAuthenticationError {
|
||||
get i18nKey() {
|
||||
return 'try_again'
|
||||
}
|
||||
}
|
||||
|
||||
class SAMLSessionDataMissing extends BackwardCompatibleError {
|
||||
constructor(arg) {
|
||||
super(arg)
|
||||
@@ -390,6 +396,7 @@ module.exports = {
|
||||
SAMLEmailNotAffiliatedError,
|
||||
SAMLEmailAffiliatedWithAnotherInstitutionError,
|
||||
SAMLSessionDataMissing,
|
||||
SAMLSessionProviderDataMissing,
|
||||
SAMLAuthenticationError,
|
||||
SAMLGroupSSOLoginIdentityMismatchError,
|
||||
SAMLGroupSSOLoginIdentityNotFoundError,
|
||||
|
||||
Reference in New Issue
Block a user