From 80a7285942a37220778cd5f7849df779ca60cb6b Mon Sep 17 00:00:00 2001 From: charles Date: Tue, 10 Feb 2026 11:14:00 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(backend)=20set=20environment=20var?= =?UTF-8?q?iables?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I am activating the OIDC authentication in the Docs viewset. This is required to call Find. Signed-off-by: charles --- env.d/development/common | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/env.d/development/common b/env.d/development/common index fad2bac5..0db78be5 100644 --- a/env.d/development/common +++ b/env.d/development/common @@ -52,8 +52,8 @@ OIDC_REDIRECT_ALLOWED_HOSTS="localhost:8083,localhost:3000" OIDC_AUTH_REQUEST_EXTRA_PARAMS={"acr_values": "eidas1"} # Store OIDC tokens in the session. Needed by search/ endpoint. -# OIDC_STORE_ACCESS_TOKEN = True -# OIDC_STORE_REFRESH_TOKEN = True # Store the encrypted refresh token in the session. +OIDC_STORE_ACCESS_TOKEN=True +OIDC_STORE_REFRESH_TOKEN=True # Store the encrypted refresh token in the session. # Must be a valid Fernet key (32 url-safe base64-encoded bytes) # To create one, use the bin/fernetkey command. @@ -83,7 +83,8 @@ DOCSPEC_API_URL=http://docspec:4000/conversion THEME_CUSTOMIZATION_CACHE_TIMEOUT=15 # Indexer (disabled) -# SEARCH_INDEXER_CLASS="core.services.search_indexers.SearchIndexer" +SEARCH_INDEXER_CLASS=core.services.search_indexers.SearchIndexer SEARCH_INDEXER_SECRET=find-api-key-for-docs-with-exactly-50-chars-length # Key generated by create_demo in Find app. -SEARCH_INDEXER_URL="http://find:8000/api/v1.0/documents/index/" -SEARCH_INDEXER_QUERY_URL="http://find:8000/api/v1.0/documents/search/" +SEARCH_INDEXER_URL=http://find:8000/api/v1.0/documents/index/ +SEARCH_INDEXER_QUERY_URL=http://find:8000/api/v1.0/documents/search/ +SEARCH_INDEXER_QUERY_LIMIT=50