From d077ecdb970ef02e9dae52ad6218b78661e12e28 Mon Sep 17 00:00:00 2001 From: Andrej Petras Date: Mon, 18 Dec 2023 18:42:31 +0100 Subject: [PATCH] docs: update documentation --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 1b9d9a9..fa73062 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,25 @@ In the OneCX Portal we want to support Multi-Tenancy. In order to do so this application was created: TenantResolver Microservice To resolve Tenant - by user ID & Org-Party Id. +## Configuration + +```properties +# header parameter +onecx.tenant.header.token=apm-principal-token +# enable or disable verified of the token +onecx.tenant.token.verified=true +# issuer suffix +onecx.tenant.token.issuer.public-key-location.suffix=/protocol/openid-connect/certs +# replace issuer location +onecx.tenant.token.issuer.public-key-location.enabled=false +# enable or disable default tenant +onecx.tenant.default.enabled=true +# default tenant value +onecx.tenant.default.tenant-id=default +# token organization claim +onecx.tenant.token.claim.org-id=orgId +``` + ## Data import To enable data import for local development use these properties: