From 97641885664b55abd5c4573e0f9131155783f432 Mon Sep 17 00:00:00 2001 From: Philip Durbin Date: Tue, 28 Mar 2023 09:00:48 -0400 Subject: [PATCH] explain env vars #9063 --- doc/sphinx-guides/source/installation/config.rst | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/sphinx-guides/source/installation/config.rst b/doc/sphinx-guides/source/installation/config.rst index 2173c983a8c..85c871a63a3 100644 --- a/doc/sphinx-guides/source/installation/config.rst +++ b/doc/sphinx-guides/source/installation/config.rst @@ -2194,10 +2194,8 @@ please find all known feature flags below. Any of these flags can be activated u - Enables API authentication via session cookie (JSESSIONID). **Caution: Enabling this feature flag exposes the installation to CSRF risks!** We expect this feature flag to be temporary (only used by frontend developers, see `#9063 `_) and removed once support for bearer tokens has been implemented (see `#9229 `_). - ``Off`` -**Note:** Can be set via any `supported MicroProfile Config API source`_, e.g. the environment variable -``DATAVERSE_FEATURE_XXX``. - - +**Note:** Feature flags can be set via any `supported MicroProfile Config API source`_, e.g. the environment variable +``DATAVERSE_FEATURE_XXX`` (e.g. ``DATAVERSE_FEATURE_API_SESSION_AUTH=1``). These environment variables can be set in your shell before starting Payara. If you are using :doc:`Docker for development `, you can set them in the `docker compose `_ file. .. _:ApplicationServerSettings: