{
	"extauth-missingclientid-error": {
        "color": "red",
        "msg": "${AuthTypeName} configuration is incomplete. Please contact your local system administrator."
	},
    "extauth-sql-error": {
        "color": "red",
        "msg": "Unexpected database error. Please try again."
    },
    "extauth-signedoff": {
        "msg": "User signed off. Return to your original ${AuthTypeName} home page or portal to sign in again."
    },
    "extauth-reg-failed": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} succeeded but registration with WhenToWork failed."
    },
    "extauth-login-failed": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} raised an unexpected error.",
		"action": "Please try again or contact your ${AuthTypeName} system administrator.",
        "comment": "obsolete"
    },
    "extauth-multival-failed": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} raised an unexpected validation error.",
		"action": "Please try again or contact your ${AuthTypeName} system administrator.",
        "comment": "obsolete"
    },
    "extauth-reg-failed-pw": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} succeeded but registration with WhenToWork failed due to incorrect WhenToWork username or password.",
        "comment": "handle wrong pw when linking via signin with google, etc..."
    },
    "extauth-login-retry": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} succeeded but login failed unexpectedly.",
		"action": "Please try again."
    },
    "extauth-xmulti-error": {
        "color": "red",
        "msg": "Unexpected condition: Sign-in-with does not support multiple links to ${AuthTypeName}.",
		"action": "Please contact your CSM."
    },
    "extauth-token-expired": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} has expired. Login again or try clearing cookies and force a hard refresh of your internet browser.",
		"action": "If the problem persists, contact your local system administrator."
    },
    "extauth-missing-permissions": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} has expired. Login again or try clearing cookies and force a hard refresh of your internet browser.",
		"action": "If the problem persists, contact your local system administrator."
    },
    "extauth-tokenreq-error": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} failed unexpectedly.",
		"action": "Try logging in again and if the problem persists, contact your local system administrator."
    },
    "extauth-x_accesstoken-error": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} did not produce an access token.",
		"action": "Try logging in again and if the problem persists, contact your local system administrator."
    },
    "extauth-nonce-error": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} included an unexpected verification value.",
		"action": "If the problem persists, contact your local system administrator.",
        "comment": "Anyone who sees this message, is probably the one who is trying to break in"
    },
    "extauth-token-error": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} failed.",
		"action": "Please try again, or if the problem persists, contact your local system administrator."
    },
    "extauth-invalid_idtoken-error": {
        "color": "red",
        "msg": "Authentication using ${AuthTypeName} failed due to an invalid token.",
		"action": "Please try again, or if the problem persists, contact your local system administrator."
    },
    "extauth-update-error": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} succeeded but update of authentication data failed unexpectedly.",
		"action": "Please try again."
    },
    "extauth-disabled-error": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} is either not configured, not saved or disabled.",
		"action": "Check WhenToWork SSO settings."
    },
    "extauth-requiredtype-error": {
        "color": "red",
        "msg": "Your WhenToWork account requires authorization using ${AuthTypeName}."
    },
    "extauth-required-expired-error": {
        "color": "red",
        "msg": "Your WhenToWork session expired. Please log in again using your ${AuthTypeName} portal."
    },
    "extauth-requiredtype-okta": {
        "color": "red",
        "msg": "Your WhenToWork account requires authorization using Okta."
    },
    "extauth-requiredtype-azure": {
        "color": "red",
        "msg": "Your WhenToWork account requires authorization using Azure."
    },
    "extauth-invalidtype-error": {
        "color": "red",
        "msg": "Your WhenToWork company account is not configured for ${AuthTypeName}."
    },
    "extauth-undefinedtype-error": {
        "color": "red",
        "msg": "This WhenToWork account is not set up for SSO.",
		"action": "You can log in using your WhenToWork login id and password.",
        "comment": "obsolete"
    },
    "extauth-unknowntype-error": {
        "color": "red",
        "msg": "SSO type '${AuthType}' is unknown.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-xidclaim-error": {
        "color": "red",
        "msg": "The configured External Id Claim was not found in the ${AuthTypeName} OpenID token.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-xsig-error": {
        "color": "red",
        "msg": "The ${AuthTypeName} OpenID or access token's signature is invalid.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-xexp-error": {
        "color": "red",
        "msg": "The ${AuthTypeName} OpenID or access token's 'exp' claim is missing.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-xemail-error": {
        "color": "red",
        "msg": "The ${AuthTypeName} OpenID token's 'email' claim is missing.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-xemailaddress-error": {
        "color": "red",
        "msg": "The ${AuthTypeName} email address is undefined.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-nonunique_primary_email-error": {
        "color": "red",
        "msg": "Your primary email address is not unique.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-inuse_primary_email-error": {
        "color": "red",
        "msg": "Your email address is already in use.",
		"action": "Please check with your manager or system administrator."
    },
    "extauth-xaud-error": {
        "color": "red",
        "msg": "The ${AuthTypeName} OpenID token's 'aud' claim is invalid.",
        "action": "Please check with your manager or system administrator."
    },
    "extauth-xiss-error": {
        "color": "red",
        "msg": "The ${AuthTypeName} OpenID token's 'iss' claim is invalid.",
        "action": "Please check with your manager or system administrator."
    },
    "extauth-xsub-error": {
        "color": "red",
        "msg": "The ${AuthTypeName} access token's 'sub' claim is missing.  Please check with your manager or system administrator."
    },
    "extauth-authsecret-error": {
        "color": "red",
        "msg": "Configuration error: The secret is missing/blank. Client application cannot be authenticated."
    },
    "extauth-nologins-error": {
        "color": "red",
        "msg": "There are no logins recorded yet for the selected user."
    },
    "extauth-isasmgr-error": {
        "color": "red",
        "msg": "Invalid link configuration for employee type.",
        "action": "Check 'mgr' param.",
        "comment": "Effectively obsolete, see dll source comments"
    },
    "extauth-unknowncompany-error": {
        "color": "red",
        "msg": "Company id '${CompanyId}' is unknown.",
        "action": "Please check with your manager or system administrator."
    },
    "extauth-noconfig-error": {
        "color": "red",
        "msg": "Configuration for company id '${CompanyId}' is not found.",
        "action": "Please check with your manager or system administrator."
    },
    "extauth-nullconfig-error": {
        "color": "red",
        "msg": "Configuration data is undefined.",
        "action": "Please check with your manager or system administrator."
    },
    "extauth-usernotfound-error": {
        "color": "red",
        "msg": "${AuthTypeName} user is not linked to a user in WhenToWork.",
        "action": "Please check with your manager or ${AuthTypeName} system administrator."
    },
    "extauth-nullempid-error": {
        "color": "red",
        "msg": "An unexpected blank employee id error occurred.",
        "action": "Please contact your ${AuthTypeName} administrator."
    },
    "extauth-testidnotfound-error": {
        "color": "red",
        "msg": "An unexpected test user error occurred.",
        "action": "Please contact your ${AuthTypeName} administrator."
    },
    "extauth-user_nf_with_msg-failed": {
        "color": "red",
        "msg": "${AuthTypeName} user is not linked to a user in WhenToWork.",
        "action": "The company manager has been notified."
    },
    "extauth-usernotfound_locked-error": {
        "color": "red",
        "msg": "New ${AuthTypeName} user cannot be provisioned for SSO access to WhenToWork because Mode is 'Locked'.",
        "action": "Your manager has been notified via WhenToWork Message."
    },
    "extauth-selfprovusernotfound-error": {
        "color": "red",
        "msg": "This ${AuthTypeName} user must first be linked by signing in using your WhenToWork login id and password."
    },
    "extauth-userxcoid-error": {
        "color": "red",
        "msg": "${AuthTypeName} userid is linked to a user in a different WhenToWork company account."
    },
    "extauth-provisioning-error": {
        "color": "red",
        "msg": "An unexpected ${AuthTypeName} user provisioning error occurred.",
        "action": "Please try again or contact your ${AuthTypeName} administrator.",
        "comment": "legit error type, but highly unlikely"
    },
    "extauth-xmgr-error": {
        "color": "red",
        "msg": "Only the main manager can initiate provisioning for ${AuthTypeName}.",
        "action": "Please contact your ${AuthTypeName} administrator.",
        "comment": "obsolete"
    },
    "extauth-config-error": {
        "color": "red",
        "msg": "An unexpected ${AuthTypeName} configuration error occurred.",
        "action": "Please try again or contact your ${AuthTypeName} administrator."
    },
    "extauth-appaccess_expr-error": {
        "color": "red",
        "msg": "User is not authorized to access the WhenToWork application.",
        "action": "Please contact your ${AuthTypeName} administrator."
    },
    "extauth-appaccess_userqry-error": {
        "color": "red",
        "msg": "User is not authorized to access the WhenToWork application.",
        "action": "Please contact your ${AuthTypeName} administrator.",
        "comment": "obsolete"
    },
    "extauth-appaccesstoken-error": {
        "color": "red",
        "msg": "An unexpected ${AuthTypeName} app access token error occurred.",
        "action": "Please contact your ${AuthTypeName} administrator.",
        "comment": "obsolete"
    },
    "extauth-api-token-error": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} failed due to an unexpected protocol error.",
        "action": "Please try again or use WhenToWork login id and password."
    },
    "extauth-verify-error": {
        "color": "red",
        "msg": "Your credentials do not match the current logged on user. Please try again."
    },
    "extauth-proxy-error": {
        "color": "red",
        "msg": "Your credentials do not match any provisioned user. Please try again."
    },
    "extauth-xmobtechuser-error": {
        "color": "red",
        "msg": "Sorry, tech user login is not supported on the mobile platform."
    },
    "extauth-xmobsupport-error": {
        "color": "red",
        "msg": "Sorry, this operation is not supported on the mobile platform."
    },
    "extauth-xml-error": {
        "color": "red",
        "msg": "Invalid XML format in SAML. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-xmetadata-error": {
        "color": "red",
        "msg": "Missing SAML config Metadata. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-xsamlcoid-error": {
        "color": "red",
        "msg": "SAML assertion attribute 'CompanyId' is not defined. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-xsamlcert-error": {
        "color": "red",
        "msg": "SAML certificate validation failed. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-xsamlsig-error": {
        "color": "red",
        "msg": "SAML assertion signature validation failed. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-xsamldest-error": {
        "color": "red",
        "msg": "SAML destination validation failed. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-saml_aiss_match-error": {
        "color": "red",
        "msg": "SAML issuer match validation failed. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-saml_iss_match-error": {
        "color": "red",
        "msg": "SAML issuer validation failed. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-saml_speid_match-error": {
        "color": "red",
        "msg": "SAML SP Entity ID validation failed. Please contact your ${AuthTypeName} administrator."
    },
    "extauth-saml_xtime_match-error": {
        "color": "red",
        "msg": "SAML time validation failed. Please contact your ${AuthTypeName} administrator."
    },
    "default": {
        "color": "red",
        "msg": "Authorization by ${AuthTypeName} failed with error '${ErrorCode}'.",
        "action": "Please try again or use WhenToWork login id and password."
    }
}