diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 91d6821e62..c9b9001337 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -367,6 +367,7 @@ "create": "", "create_a_new_project": "", "create_account": "", + "create_new_account": "", "create_new_subscription": "", "create_new_tag": "", "create_project_in_github": "", @@ -1550,7 +1551,7 @@ "role": "", "rolling_texlive_build": "", "saml_auth_error": "", - "saml_email_not_in_account_error_managed_users": "", + "saml_email_not_in_account_error_managed_users_2": "", "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 ec82e97e02..78269c4d88 100644 --- a/services/web/locales/en.json +++ b/services/web/locales/en.json @@ -2007,7 +2007,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_managed_users": "Your organization’s identity provider returned <0>__email__. You will need to use this address to create an account via SSO. You can <1>transfer your existing projects to the new account.", + "saml_email_not_in_account_error_managed_users_2": "Your email address <0>__userEmail__ was not recognized. Your organization’s identity provider returned <1>__samlEmail__. You will need to log out of <0>__userEmail__ and use <1>__samlEmail__ to create an account via SSO. You can <2>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_email_on_another_account_error": "Your identity provider returned __email__, which is on another __appName__ account. Please log out and log in with the other account to join your __teamName__ enterprise group.", "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.", diff --git a/services/web/test/frontend/features/group-management/components/domain-capture.spec.tsx b/services/web/test/frontend/features/group-management/components/domain-capture.spec.tsx index 90f6e61863..8ae9716235 100644 --- a/services/web/test/frontend/features/group-management/components/domain-capture.spec.tsx +++ b/services/web/test/frontend/features/group-management/components/domain-capture.spec.tsx @@ -125,9 +125,10 @@ describe('', function () { cy.findByRole('alert').should( 'contain.text', - `Your organization’s identity provider returned ${institutionEmail}. ` + - `You will need to use this address to create an account via SSO. You can ` + - `transfer your existing projects to the new account.` + `Your email address ${this.email} was not recognized. ` + + `Your organization’s identity provider returned ${institutionEmail}. ` + + `You will need to log out of ${this.email} and use ${institutionEmail} to create an account via SSO. ` + + `You can transfer your existing projects to the new account.` ) cy.findByRole('link', { name: /transfer your existing projects/i,