feat: update identity validation docs link (#6994)

* feat: update identity validation docs link

* fix: copy

* fix: grammar
This commit is contained in:
Shivam Mishra
2023-04-28 13:36:58 +05:30
committed by GitHub
parent 09c9300c21
commit 2313edd244
3 changed files with 20 additions and 4 deletions

View File

@@ -5,7 +5,9 @@
{{ title }}
</p>
<p class="sub-head">
{{ subTitle }}
<slot name="subTitle">
{{ subTitle }}
</slot>
</p>
<p v-if="note">
<span class="note">{{ $t('INBOX_MGMT.NOTE') }}</span>

View File

@@ -463,9 +463,10 @@
"INBOX_UPDATE_SUB_TEXT": "Update your inbox settings",
"AUTO_ASSIGNMENT_SUB_TEXT": "Enable or disable the automatic assignment of new conversations to the agents added to this inbox.",
"HMAC_VERIFICATION": "User Identity Validation",
"HMAC_DESCRIPTION": "In order to validate the user's identity, you can pass an `identifier_hash` for each user. You can generate a HMAC sha256 hash using the `identifier` with the key shown here.",
"HMAC_DESCRIPTION": "With this key you can generate a secret token that can be used to verify the identity of your users.",
"HMAC_LINK_TO_DOCS": "You can read more here.",
"HMAC_MANDATORY_VERIFICATION": "Enforce User Identity Validation",
"HMAC_MANDATORY_DESCRIPTION": "If enabled, requests missing the `identifier_hash` will be rejected.",
"HMAC_MANDATORY_DESCRIPTION": "If enabled, requests that cannot be verified will be rejected.",
"INBOX_IDENTIFIER": "Inbox Identifier",
"INBOX_IDENTIFIER_SUB_TEXT": "Use the `inbox_identifier` token shown here to authentication your API clients.",
"FORWARD_EMAIL_TITLE": "Forward to Email",

View File

@@ -31,9 +31,18 @@
<settings-section
:title="$t('INBOX_MGMT.SETTINGS_POPUP.HMAC_VERIFICATION')"
:sub-title="$t('INBOX_MGMT.SETTINGS_POPUP.HMAC_DESCRIPTION')"
>
<woot-code :script="inbox.hmac_token" />
<template #subTitle>
{{ $t('INBOX_MGMT.SETTINGS_POPUP.HMAC_DESCRIPTION') }}
<a
target="_blank"
rel="noopener noreferrer"
href="https://www.chatwoot.com/docs/product/channels/live-chat/sdk/identity-validation/"
>
{{ $t('INBOX_MGMT.SETTINGS_POPUP.HMAC_LINK_TO_DOCS') }}
</a>
</template>
</settings-section>
<settings-section
:title="$t('INBOX_MGMT.SETTINGS_POPUP.HMAC_MANDATORY_VERIFICATION')"
@@ -243,4 +252,8 @@ export default {
}
}
}
.hmac-link-to-docs {
margin-top: var(--space-small);
}
</style>