Skip to main content
Version: 0.3.0

Pyx IDR Adapter

The Pyx Identity Resolver is the default identity resolver service bundled with the Reference Implementation.

About​

The Pyx Identity Resolver is a standards-compliant identity resolution service.

Supported Version​

The supported version of the Pyx Identity Resolver is 4.0.0, served over its 4.0 API.

Environment Variables​

The following environment variables configure the connection between the Reference Implementation and a Pyx Identity Resolver instance:

VariableDescriptionRequiredDefault
SYSTEM_IDR_BASE_URLBase URL of the identity resolverYeshttp://localhost:3000
SYSTEM_IDR_API_KEYAuthentication token for the identity resolver APIYestest123
SYSTEM_IDR_ADAPTER_TYPEMust be set to PYX_IDRYesPYX_IDR
SYSTEM_IDR_SERVICE_NAMEDisplay name for this service instanceNoSystem Default IDR
SYSTEM_IDR_SERVICE_DESCRIPTIONDescription for this service instanceNo—
SYSTEM_IDR_API_VERSIONAPI versionNo4.0
SYSTEM_IDR_DEFAULT_LINK_TYPEDefault link type for credential registrationYesuntp:dpp
SYSTEM_IDR_DEFAULT_MIME_TYPEDefault MIME typeYestext/html
SYSTEM_IDR_DEFAULT_LANGUAGEDefault language codeYesen
SYSTEM_IDR_DEFAULT_CONTEXTDefault regional contextYesau
SYSTEM_IDR_DEFAULT_FWQSWhether to forward query strings to target URLsNotrue

These variables are used during startup to seed the default identity resolver service instance into the system tenant.

API Configuration Schema​

When creating or updating a Pyx IDR service instance via the Services API, the config object must conform to the following schema:

FieldTypeRequiredDefaultDescription
baseUrlstring (URL)Yes—Base URL of the identity resolver (e.g., http://identity-resolver-service:3000)
apiKeystringYes—Authentication token for the identity resolver API. Sensitive — masked in API responses.
apiVersionstringYes4.0API version to use when communicating with the identity resolver. Currently only 4.0 is accepted.
defaultLinkTypestring (enum)Yes—Default link type for credential registration. Accepted values: untp:dpp, untp:dcc, untp:dte, untp:idr, untp:dfr, untp:dia, untp:cvc.
defaultMimeTypestringYes—Default MIME type for linked resources (e.g., text/html)
defaultIanaLanguagestringYes—Default language code (e.g., en)
defaultContextstringYes—Default regional context (e.g., au)
defaultFwqsbooleanNofalseWhether to forward query strings to target URLs

The defaultLinkType, defaultMimeType, defaultIanaLanguage, defaultContext, and defaultFwqs fields correspond to the default values used when registering links in the identity resolver. For details on what these values mean and how they affect link registration, see the Pyx Identity Resolver link registration documentation.

Example:

{
"baseUrl": "https://idr.example.com",
"apiKey": "your-api-key",
"apiVersion": "4.0",
"defaultLinkType": "untp:dpp",
"defaultMimeType": "text/html",
"defaultIanaLanguage": "en",
"defaultContext": "au",
"defaultFwqs": false
}