diff --git a/services/web/app/src/Features/Errors/Errors.js b/services/web/app/src/Features/Errors/Errors.js index b19f4f4344..7eb37d7a2b 100644 --- a/services/web/app/src/Features/Errors/Errors.js +++ b/services/web/app/src/Features/Errors/Errors.js @@ -198,6 +198,8 @@ class SAMLRequestDeniedError extends SAMLAuthenticationError { class SAMLDomainCaptureManagedUserMissingEmailError extends OError {} +class SAMLDomainCaptureManagedOptInUserMissingEmailError extends SAMLDomainCaptureError {} + class SAMLSessionDataMissing extends BackwardCompatibleError { constructor(arg) { super(arg) @@ -383,6 +385,7 @@ module.exports = { SAMLRequestDeniedError, SAMLDomainCaptureRegisterError, SAMLDomainCaptureManagedUserMissingEmailError, + SAMLDomainCaptureManagedOptInUserMissingEmailError, SLInV2Error, ThirdPartyIdentityExistsError, ThirdPartyUserNotFoundError, diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 4b6fa33f01..982097f7f6 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -1530,7 +1530,7 @@ "role": "", "rolling_texlive_build": "", "saml_auth_error": "", - "saml_email_not_in_account_error": "", + "saml_email_not_in_account_error_managed_users": "", "saml_identity_exists_error": "", "saml_invalid_signature_error": "", "saml_login_disabled_error": "", diff --git a/services/web/locales/en.json b/services/web/locales/en.json index f9865a90a1..c2b4402e61 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -1986,7 +1986,7 @@ "saml_authentication_required_error": "Other login methods have been disabled by your group administrator. Please use your group SSO login.", "saml_commons_unavailable": "Institution SSO is currently unavailable. For more details, please see <0>__linkText__.", "saml_create_admin_instructions": "Choose an email address for the first __appName__ admin account. This should correspond to an account in the SAML system. You will then be asked to log in with this account.", - "saml_email_not_in_account_error": "Your identity provider returned __email__, which is not already on your current __appName__ account. You will need to log out and create a new __appName__ account with __email__ via the SSO log in page. Once this is done, you can <0>transfer your existing projects to the new account.", + "saml_email_not_in_account_error_managed_users": "Your identity provider returned __email__, which is not already on your current __appName__ account. You will need to log out and create a new __appName__ account with __email__ via the SSO log in page. Once this is done, you can <0>transfer your existing projects to the new account.", "saml_email_not_recognized_error": "This email address isn’t set up for SSO. Please check it and try again or contact your administrator.", "saml_identity_exists_error": "Sorry, the identity returned by your identity provider is already linked with a different Overleaf account. Please contact your administrator for more information.", "saml_invalid_signature_error": "Sorry, the information received from your identity provider has an invalid signature. Please contact your administrator for more information.",