);
}
diff --git a/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/index.module.scss b/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/index.module.scss
index 25f20ce168f..cc0b98018a2 100644
--- a/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/index.module.scss
+++ b/packages/console/src/pages/CustomizeJwtDetails/MainContent/SettingsSection/index.module.scss
@@ -48,6 +48,7 @@
.description {
font: var(--font-body-2);
color: var(--color-text-secondary);
+ padding: 0 _.unit(1);
}
}
diff --git a/packages/console/src/pages/CustomizeJwtDetails/MainContent/index.tsx b/packages/console/src/pages/CustomizeJwtDetails/MainContent/index.tsx
index 05bc972a579..7147bf7cb18 100644
--- a/packages/console/src/pages/CustomizeJwtDetails/MainContent/index.tsx
+++ b/packages/console/src/pages/CustomizeJwtDetails/MainContent/index.tsx
@@ -56,11 +56,13 @@ function MainContent({
const { tokenType } = data;
const payload = formatFormDataToRequestData(data);
- await api.put(getApiPath(tokenType), { json: payload });
+ const updatedJwtCustomizer = await api
+ .put(getApiPath(tokenType), { json: payload })
+ .json>();
- const result = await mutate();
+ await mutate(updatedJwtCustomizer);
- reset(formatResponseDataToFormData(tokenType, result));
+ reset(formatResponseDataToFormData(tokenType, updatedJwtCustomizer));
/**
* Should `reset` (to set `isDirty` to false) before navigating back to the custom JWT listing page.
diff --git a/packages/console/src/pages/CustomizeJwtDetails/utils/config.tsx b/packages/console/src/pages/CustomizeJwtDetails/utils/config.tsx
index d55c7d4bf2a..bf5341b403e 100644
--- a/packages/console/src/pages/CustomizeJwtDetails/utils/config.tsx
+++ b/packages/console/src/pages/CustomizeJwtDetails/utils/config.tsx
@@ -82,7 +82,7 @@ export const defaultAccessTokenJwtCustomizerCode = `/**
* @returns The custom claims.
*/
-exports.getCustomJwtClaims = async (token, data) => {
+exports.getCustomJwtClaims = async (token, data, envVariables) => {
return {};
}`;
@@ -95,7 +95,7 @@ export const defaultClientCredentialsJwtCustomizerCode = `/**
* @returns The custom claims.
*/
-exports.getCustomJwtClaims = async (token) => {
+exports.getCustomJwtClaims = async (token, envVariables) => {
return {};
}`;
diff --git a/packages/phrases/src/locales/de/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/de/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/de/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/de/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/en/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/en/translation/admin-console/jwt-claims.ts
index cc8273650bc..1f856d7784f 100644
--- a/packages/phrases/src/locales/en/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/en/translation/admin-console/jwt-claims.ts
@@ -11,11 +11,11 @@ const jwt_claims = {
machine_to_machine_jwt: {
card_title: 'For M2M',
card_field: 'Machine-to-machine token',
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
for: 'for M2M',
},
code_editor_title: 'Customize the {{token}} claims',
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
custom_jwt_item: 'Custom claims {{for}}',
delete_modal_title: 'Delete custom claims',
delete_modal_content: 'Are you sure you want to delete the custom claims?',
@@ -25,28 +25,24 @@ const jwt_claims = {
restored: 'Restored',
data_source_tab: 'Data source',
test_tab: 'Test claim',
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
title: 'User data',
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
title: 'Token data',
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
title: 'Fetch external data',
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
},
environment_variables: {
title: 'Set environment variables',
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
input_field_title: 'Add environment variables',
sample_code: 'Accessing environment variables in your custom JWT claims handler. Example: ',
},
diff --git a/packages/phrases/src/locales/es/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/es/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/es/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/es/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/fr/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/fr/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/fr/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/fr/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/it/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/it/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/it/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/it/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/ja/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/ja/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/ja/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/ja/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/ko/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/ko/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/ko/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/ko/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/pl-pl/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/pl-pl/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/pl-pl/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/pl-pl/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/pt-br/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/pt-br/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/pt-br/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/pt-br/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/pt-pt/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/pt-pt/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/pt-pt/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/pt-pt/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/ru/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/ru/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/ru/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/ru/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/tr-tr/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/tr-tr/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/tr-tr/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/tr-tr/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/zh-cn/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/zh-cn/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/zh-cn/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/zh-cn/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/zh-hk/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/zh-hk/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/zh-hk/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/zh-hk/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */
diff --git a/packages/phrases/src/locales/zh-tw/translation/admin-console/jwt-claims.ts b/packages/phrases/src/locales/zh-tw/translation/admin-console/jwt-claims.ts
index fffd62734a0..852edbc5f00 100644
--- a/packages/phrases/src/locales/zh-tw/translation/admin-console/jwt-claims.ts
+++ b/packages/phrases/src/locales/zh-tw/translation/admin-console/jwt-claims.ts
@@ -20,14 +20,14 @@ const jwt_claims = {
/** UNTRANSLATED */
card_field: 'Machine-to-machine token',
/** UNTRANSLATED */
- card_description: 'Add extra data fro machine-to-machine communication.',
+ card_description: 'Add extra data during machine-to-machine token issuance.',
/** UNTRANSLATED */
for: 'for M2M',
},
/** UNTRANSLATED */
code_editor_title: 'Customize the {{token}} claims',
/** UNTRANSLATED */
- custom_jwt_create_button: 'Create custom claims',
+ custom_jwt_create_button: 'Add custom claims',
/** UNTRANSLATED */
custom_jwt_item: 'Custom claims {{for}}',
/** UNTRANSLATED */
@@ -47,27 +47,24 @@ const jwt_claims = {
/** UNTRANSLATED */
test_tab: 'Test claim',
/** UNTRANSLATED */
- jwt_claims_description:
- 'Handler that will be called during the access token generation process to add custom claims to the token. The function should return an object with the custom claims.',
+ jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
user_data: {
/** UNTRANSLATED */
title: 'User data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `data.user`, providing essential user information linked to the present access token.',
+ subtitle: 'Use `data.user` input parameter to provide vital user info.',
},
token_data: {
/** UNTRANSLATED */
title: 'Token data',
/** UNTRANSLATED */
- subtitle:
- 'Input parameter `token`, providing the payload of the current access token for contextual reference.',
+ subtitle: 'Use `token` input parameter for current access token payload. ',
},
fetch_external_data: {
/** UNTRANSLATED */
title: 'Fetch external data',
/** UNTRANSLATED */
- subtitle: 'Incorporate data sources from your external APIs directly into your custom claims.',
+ subtitle: 'Incorporate data from your external APIs directly into claims.',
/** UNTRANSLATED */
description:
'Use the `fetch` function to call your external APIs and include the data in your custom claims. Example: ',
@@ -76,8 +73,7 @@ const jwt_claims = {
/** UNTRANSLATED */
title: 'Set environment variables',
/** UNTRANSLATED */
- subtitle:
- 'Use environment variables to store sensitive information and access them in your custom claims handler.',
+ subtitle: 'Use environment variables to store sensitive information.',
/** UNTRANSLATED */
input_field_title: 'Add environment variables',
/** UNTRANSLATED */