From 3fdd955c4ef4d3947cf1375ce48fc2f352ac5635 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 24 Jan 2025 15:26:47 +0100 Subject: [PATCH 1/3] Setting baseUrl --- ...rovisioning-your-custom-configuration.adoc | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/configuring/proc-provisioning-your-custom-configuration.adoc b/modules/configuring/proc-provisioning-your-custom-configuration.adoc index 702b2a39c8..331c9846b2 100644 --- a/modules/configuring/proc-provisioning-your-custom-configuration.adoc +++ b/modules/configuring/proc-provisioning-your-custom-configuration.adoc @@ -23,6 +23,29 @@ This is the main {product-short} configuration file. + You can start with an empty file to use the default configuration. + +The `baseUrl` field is mandatory in your `{my-app-config-file}` file to ensure proper functionality of {product-short}. You must specify the `baseUrl` in both the `app` and `backend` sections to avoid errors during initialization. + +.Configuring the `baseUrl` in `{my-app-config-file}` +==== +[source,yaml,subs="+attributes,+quotes"] +---- +app: + title: {product} + baseUrl: + +backend: + auth: + externalAccess: + - type: legacy + options: + subject: legacy-default-config + secret: "${BACKEND_SECRET}" + baseUrl: + cors: + origin: +---- +==== + Optionally, enter your configuration such as: * link:{authentication-book-url}[{authentication-book-title}]. From 998869f465c6b5fbdf7556b4c7193cfa23a5f797 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Fri, 24 Jan 2025 17:36:01 +0100 Subject: [PATCH 2/3] Applying suggestions --- .../proc-provisioning-your-custom-configuration.adoc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/configuring/proc-provisioning-your-custom-configuration.adoc b/modules/configuring/proc-provisioning-your-custom-configuration.adoc index 331c9846b2..452554b758 100644 --- a/modules/configuring/proc-provisioning-your-custom-configuration.adoc +++ b/modules/configuring/proc-provisioning-your-custom-configuration.adoc @@ -21,8 +21,6 @@ It contains one secret per line in `KEY=value` form. . Author your custom `{my-app-config-file}` file. This is the main {product-short} configuration file. + -You can start with an empty file to use the default configuration. -+ The `baseUrl` field is mandatory in your `{my-app-config-file}` file to ensure proper functionality of {product-short}. You must specify the `baseUrl` in both the `app` and `backend` sections to avoid errors during initialization. .Configuring the `baseUrl` in `{my-app-config-file}` @@ -31,7 +29,7 @@ The `baseUrl` field is mandatory in your `{my-app-config-file}` file to ensure p ---- app: title: {product} - baseUrl: + baseUrl: {my-product-url} backend: auth: @@ -40,9 +38,9 @@ backend: options: subject: legacy-default-config secret: "${BACKEND_SECRET}" - baseUrl: + baseUrl: {my-product-url} cors: - origin: + origin: {my-product-url} ---- ==== From 99ed3ae8b2600479ba8515e02e98a0dfe8c275f2 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Mon, 27 Jan 2025 15:54:29 +0100 Subject: [PATCH 3/3] Setting the BaseURL --- .../proc-provisioning-your-custom-configuration.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/configuring/proc-provisioning-your-custom-configuration.adoc b/modules/configuring/proc-provisioning-your-custom-configuration.adoc index 452554b758..58b1fc6276 100644 --- a/modules/configuring/proc-provisioning-your-custom-configuration.adoc +++ b/modules/configuring/proc-provisioning-your-custom-configuration.adoc @@ -22,7 +22,7 @@ It contains one secret per line in `KEY=value` form. This is the main {product-short} configuration file. + The `baseUrl` field is mandatory in your `{my-app-config-file}` file to ensure proper functionality of {product-short}. You must specify the `baseUrl` in both the `app` and `backend` sections to avoid errors during initialization. - ++ .Configuring the `baseUrl` in `{my-app-config-file}` ==== [source,yaml,subs="+attributes,+quotes"] @@ -43,7 +43,7 @@ backend: origin: {my-product-url} ---- ==== - ++ Optionally, enter your configuration such as: * link:{authentication-book-url}[{authentication-book-title}].