From 5f04dc4f45b9657d46380499f92ae6e5c1bf5506 Mon Sep 17 00:00:00 2001 From: enahum Date: Tue, 5 Jul 2016 15:49:00 -0400 Subject: SAML support (#3494) * PLT-3073: Implement SAML/Okta Server side (EE) (#3422) * PLT-3137 Support for SAML configuration * PLT-3410 SAML Database Store * PLT-3411 CLI to add Identity Provider Certificate and Service Provider Private Key * PLT-3409 SAML Interface for EE * PLT-3139 Handle SAML authentication server side * Add localization messages * PLT-3443 SAML Obtain SP metadata * PLT-3142 Login & Switch to/from SAML * Remove Certs for Database & Clean SAML Request * Make required Username, FirstName and LastName * PLT-3140 Add SAML to System Console (#3476) * PLT-3140 Add SAML to System Console * Move web_client functions to client.jsx * Fix issues found by PM * update package.json mattermost driver * Fix text messages for SAML --- i18n/en.json | 148 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) (limited to 'i18n') diff --git a/i18n/en.json b/i18n/en.json index ba78695c0..69b18adf3 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -47,6 +47,22 @@ "id": "September", "translation": "September" }, + { + "id": "api.admin.add_certificate.array.app_error", + "translation": "Empty array under 'certificate' in request" + }, + { + "id": "api.admin.add_certificate.no_file.app_error", + "translation": "No file under 'certificate' in request" + }, + { + "id": "api.admin.add_certificate.open.app_error", + "translation": "Could not open certificate file" + }, + { + "id": "api.admin.add_certificate.saving.app_error", + "translation": "Could not save certificate file" + }, { "id": "api.admin.file_read_error", "translation": "Error reading log file" @@ -71,6 +87,14 @@ "id": "api.admin.recycle_db_start.warn", "translation": "Attempting to recycle the database connection" }, + { + "id": "api.admin.remove_certificate.delete.app_error", + "translation": "An error occurred while deleting the certificate. Make sure the file config/{{.Filename}} exists." + }, + { + "id": "api.admin.saml.metadata.app_error", + "translation": "An error occurred while building Service Provider Metadata" + }, { "id": "api.admin.test_email.body", "translation": "


It appears your Mattermost email is setup correctly!" @@ -1099,6 +1123,10 @@ "id": "api.preference.save_preferences.set_details.app_error", "translation": "session.user_id={{.SessionUserId}}, preference.user_id={{.PreferenceUserId}}" }, + { + "id": "api.saml.save_certificate.app_error", + "translation": "Certificate did not save properly." + }, { "id": "api.server.new_server.init.info", "translation": "Server is initializing..." @@ -1803,6 +1831,10 @@ "id": "api.user.reset_password.wrong_team.app_error", "translation": "Trying to reset password for user on wrong team." }, + { + "id": "api.user.saml.not_available.app_error", + "translation": "SAML is not configured or supported on this server." + }, { "id": "api.user.send_email_change_email_and_forget.error", "translation": "Failed to send email change notification email successfully err=%v" @@ -2171,6 +2203,74 @@ "id": "ent.mfa.validate_token.authenticate.app_error", "translation": "Error trying to authenticate MFA token" }, + { + "id": "ent.saml.build_request.app_error", + "translation": "An error occurred while initiating the request to the Identity Provider. Please contact your System Administrator." + }, + { + "id": "ent.saml.build_request.encoding.app_error", + "translation": "An error occurred while encoding the request for the Identity Provider. Please contact your System Administrator." + }, + { + "id": "ent.saml.build_request.encoding_signed.app_error", + "translation": "An error occurred while encoding the signed request for the Identity Provider. Please contact your System Administrator." + }, + { + "id": "ent.saml.configure.app_error", + "translation": "An error occurred while configuring SAML Service Provider, err=%v" + }, + { + "id": "ent.saml.configure.encryption_not_enabled.app_error", + "translation": "SAML login was unsuccessful because encryption is not enabled. Please contact your System Administrator." + }, + { + "id": "ent.saml.configure.load_idp_cert.app_error", + "translation": "Identity Provider Public Certificate File was not found. Please contact your System Administrator." + }, + { + "id": "ent.saml.configure.load_private_key.app_error", + "translation": "SAML login was unsuccessful because the Service Provider Private Key was not found. Please contact your System Administrator." + }, + { + "id": "ent.saml.configure.load_public_cert.app_error", + "translation": "Service Provider Public Certificate File was not found. Please contact your System Administrator." + }, + { + "id": "ent.saml.configure.not_encrypted_response.app_error", + "translation": "SAML login was unsuccessful as the Identity Provider response is not encrypted. Please contact your System Administrator." + }, + { + "id": "ent.saml.do_login.decrypt.app_error", + "translation": "SAML login was unsuccessful because an error occurred while decrypting the response from the Identity Provider. Please contact your System Administrator." + }, + { + "id": "ent.saml.do_login.empty_response.app_error", + "translation": "We received an empty response from the Identity Provider" + }, + { + "id": "ent.saml.do_login.parse.app_error", + "translation": "An error occurred while parsing the response from the Identity Provider. Please contact your System Administrator." + }, + { + "id": "ent.saml.do_login.validate.app_error", + "translation": "An error occurred while validating the response from the Identity Provider. Please contact your System Administrator." + }, + { + "id": "ent.saml.license_disable.app_error", + "translation": "Your license does not support SAML authentication." + }, + { + "id": "ent.saml.metadata.app_error", + "translation": "An error occurred while building Service Provider Metadata." + }, + { + "id": "ent.saml.service_disable.app_error", + "translation": "SAML is not configured or supported on this server." + }, + { + "id": "ent.saml.update_saml_user.unable_error", + "translation": "Unable to update existing SAML user. Allowing login anyway. err=%v" + }, { "id": "error.generic.link_message", "translation": "Back to Mattermost" @@ -2571,6 +2671,46 @@ "id": "model.config.is_valid.restrict_direct_message.app_error", "translation": "Invalid direct message restriction. Must be 'any', or 'team'" }, + { + "id": "model.config.is_valid.saml_assertion_consumer_service_url.app_error", + "translation": "Service Provider Login URL must be a valid URL and start with http:// or https://." + }, + { + "id": "model.config.is_valid.saml_email_attribute.app_error", + "translation": "Invalid Email attribute. Must be set." + }, + { + "id": "model.config.is_valid.saml_first_name_attribute.app_error", + "translation": "Invalid First Name attribute. Must be set." + }, + { + "id": "model.config.is_valid.saml_idp_cert.app_error", + "translation": "Identity Provider Public Certificate missing. Did you forget to upload it?" + }, + { + "id": "model.config.is_valid.saml_idp_descriptor_url.app_error", + "translation": "Identity Provider Issuer URL must be a valid URL and start with http:// or https://." + }, + { + "id": "model.config.is_valid.saml_idp_url.app_error", + "translation": "SAML SSO URL must be a valid URL and start with http:// or https://." + }, + { + "id": "model.config.is_valid.saml_last_name_attribute.app_error", + "translation": "Invalid Last Name attribute. Must be set." + }, + { + "id": "model.config.is_valid.saml_private_key.app_error", + "translation": "Service Provider Private Key missing. Did you forget to upload it?" + }, + { + "id": "model.config.is_valid.saml_public_cert.app_error", + "translation": "Service Provider Public Certificate missing. Did you forget to upload it?" + }, + { + "id": "model.config.is_valid.saml_username_attribute.app_error", + "translation": "Invalid Username attribute. Must be set." + }, { "id": "model.config.is_valid.sql_data_src.app_error", "translation": "Invalid data source for SQL settings. Must be set." @@ -3795,6 +3935,10 @@ "id": "store.sql_user.save.email_exists.ldap_app_error", "translation": "This account does not use LDAP authentication. Please sign in using email and password." }, + { + "id": "store.sql_user.save.email_exists.saml_app_error", + "translation": "This account does not use SAML authentication. Please sign in using email and password." + }, { "id": "store.sql_user.save.existing.app_error", "translation": "Must call update for exisiting user" @@ -3815,6 +3959,10 @@ "id": "store.sql_user.save.username_exists.ldap_app_error", "translation": "An account with that username already exists. Please contact your Administrator." }, + { + "id": "store.sql_user.save.username_exists.saml_app_error", + "translation": "An account with that username already exists. Please contact your Administrator." + }, { "id": "store.sql_user.update.app_error", "translation": "We couldn't update the account" -- cgit v1.2.3-1-g7c22