Skip to content
You are reading Codefi Orchestrate development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

How to make requests in a multi-tenant environment

When using multi-tenancy, all client requests require an authorization token (JWT) used to identify and authorize the caller.

Prerequisites

Simply pass the Bearer token as part of the Authorization header when doing an HTTP call or fill the authToken parameter when using the JS SDK.

Example

curl --location --request GET 'https://orchestrate.consensys.net/chains' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...'
const authToken = 'eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...'
const chain = await chainRegistry.registerChain(chainRequest, authToken);

Tip

The Quorum Developer Quickstart showcases usage of the multi-tenancy.

ConsenSys has acquired Quorum from J.P. Morgan. Please read the FAQ.
Questions or feedback? You can obtain paid professional support by Consensys at orchestrate@consensys.net