mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
refactor(console,phrases): protected app origin url should not contain pathname (#5333)
This commit is contained in:
parent
50f8756721
commit
29eb633c44
31 changed files with 48 additions and 47 deletions
|
@ -1,4 +1,4 @@
|
|||
import { isValidUrl } from '@logto/core-kit';
|
||||
import { validateUriOrigin } from '@logto/core-kit';
|
||||
import { ApplicationType, type Application, type RequestErrorBody } from '@logto/schemas';
|
||||
import { isValidSubdomain } from '@logto/shared/universal';
|
||||
import { condString, conditional } from '@silverhand/essentials';
|
||||
|
@ -147,7 +147,8 @@ function ProtectedAppForm({
|
|||
<TextInput
|
||||
{...register('origin', {
|
||||
required: true,
|
||||
validate: (value) => isValidUrl(value) || t('protected_app.form.errors.invalid_url'),
|
||||
validate: (value) =>
|
||||
validateUriOrigin(value) || t('protected_app.form.errors.invalid_url'),
|
||||
})}
|
||||
placeholder={t('protected_app.form.url_field_placeholder')}
|
||||
error={
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -73,7 +73,7 @@ const application_details = {
|
|||
app_domain_protected_description_2:
|
||||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
custom_rules: 'Custom authentication rules',
|
||||
custom_rules_placeholder: '^/(admin|privacy)/.+$',
|
||||
custom_rules_description:
|
||||
|
|
|
@ -19,7 +19,7 @@ const protected_app = {
|
|||
url_field_placeholder: 'https://',
|
||||
url_field_description: 'Enter the primary website address of your application.',
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
create_application: 'Create application',
|
||||
create_protected_app: 'Create and experience auth protection',
|
||||
errors: {
|
||||
|
@ -29,7 +29,7 @@ const protected_app = {
|
|||
"Invalid subdomain format: use only lowercase letters, numbers, and hyphens '-'.",
|
||||
url_required: 'Origin URL is required.',
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
success_message:
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -89,7 +89,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -87,7 +87,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -87,7 +87,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -88,7 +88,7 @@ const application_details = {
|
|||
'Feel free to utilize your domain <domain>{{domain}}</domain> which is permanently valid.',
|
||||
/** UNTRANSLATED */
|
||||
origin_url_tip:
|
||||
"Enter primary website address of your application, excluding any '/routes'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
custom_rules: 'Custom authentication rules',
|
||||
/** UNTRANSLATED */
|
||||
|
|
|
@ -34,7 +34,7 @@ const protected_app = {
|
|||
url_field_description: 'Enter the primary website address of your application.',
|
||||
/** UNTRANSLATED */
|
||||
url_field_tooltip:
|
||||
"Enter primary website address of your application, excluding any '/routes'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
"Enter primary website address of your application, excluding any '/pathname'. After creation, you can customize route authentication rules.\n\nNote: The Origin URL itself won't require authentication; only accesses via the added app domain will be protected.",
|
||||
/** UNTRANSLATED */
|
||||
create_application: 'Create application',
|
||||
/** UNTRANSLATED */
|
||||
|
@ -51,7 +51,7 @@ const protected_app = {
|
|||
url_required: 'Origin URL is required.',
|
||||
/** UNTRANSLATED */
|
||||
invalid_url:
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/routes' is not currently supported.",
|
||||
"Invalid Origin URL format: Use http:// or https://. Note: '/pathname' is not currently supported.",
|
||||
},
|
||||
},
|
||||
/** UNTRANSLATED */
|
||||
|
|
Loading…
Reference in a new issue