mirror of
https://github.com/logto-io/logto.git
synced 2025-01-13 21:30:30 -05:00
fix(console,phrases): update the jwt test section content (#5641)
update the jwt test section content
This commit is contained in:
parent
3160b40f3b
commit
3e51ab14ce
16 changed files with 33 additions and 62 deletions
|
@ -235,7 +235,7 @@ export const accessTokenPayloadTestModel: ModelSettings = {
|
|||
language: 'json',
|
||||
icon: <TokenFileIcon />,
|
||||
name: 'user-token-payload.json',
|
||||
title: 'Token',
|
||||
title: 'Token data',
|
||||
defaultValue: JSON.stringify(defaultAccessTokenPayload, null, 2),
|
||||
};
|
||||
|
||||
|
@ -243,7 +243,7 @@ export const clientCredentialsPayloadTestModel: ModelSettings = {
|
|||
language: 'json',
|
||||
icon: <TokenFileIcon />,
|
||||
name: 'machine-to-machine-token-payload.json',
|
||||
title: 'Token',
|
||||
title: 'Token data',
|
||||
defaultValue: JSON.stringify(defaultClientCredentialsPayload, null, 2),
|
||||
};
|
||||
|
||||
|
@ -251,6 +251,6 @@ export const userContextTestModel: ModelSettings = {
|
|||
language: 'json',
|
||||
icon: <UserFileIcon />,
|
||||
name: 'user-token-context.json',
|
||||
title: 'User Context',
|
||||
title: 'User data',
|
||||
defaultValue: JSON.stringify(defaultUserTokenContextData, null, 2),
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -24,7 +24,7 @@ const jwt_claims = {
|
|||
restore: 'Restore defaults',
|
||||
restored: 'Restored',
|
||||
data_source_tab: 'Data source',
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
title: 'User data',
|
||||
|
@ -49,8 +49,7 @@ const jwt_claims = {
|
|||
jwt_claims_hint:
|
||||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
title: 'Test',
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
run_button: 'Run test',
|
||||
result_title: 'Test result',
|
||||
},
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -45,7 +45,7 @@ const jwt_claims = {
|
|||
/** UNTRANSLATED */
|
||||
data_source_tab: 'Data source',
|
||||
/** UNTRANSLATED */
|
||||
test_tab: 'Test claim',
|
||||
test_tab: 'Test context',
|
||||
/** UNTRANSLATED */
|
||||
jwt_claims_description: 'Default claims are auto-included in the JWT and cannot be overridden.',
|
||||
user_data: {
|
||||
|
@ -84,9 +84,7 @@ const jwt_claims = {
|
|||
'Limit custom claims to under 50KB. Default JWT claims are automatically included in the token and can not be overridden.',
|
||||
tester: {
|
||||
/** UNTRANSLATED */
|
||||
title: 'Test',
|
||||
/** UNTRANSLATED */
|
||||
subtitle: "Edit the context to adjust the token's request states and test your custom claims.",
|
||||
subtitle: 'Adjust mock token and user data for testing.',
|
||||
/** UNTRANSLATED */
|
||||
run_button: 'Run test',
|
||||
/** UNTRANSLATED */
|
||||
|
|
Loading…
Add table
Reference in a new issue