Skip to content

Commit

Permalink
docs: update documentation (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejpetras authored Dec 18, 2023
1 parent 902bebd commit d2308c6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d2308c6

Please sign in to comment.