JWT Configuration

Pricefx supports JSON Web Token (JWT) authentication for external systems such as Salesforce (SFDC).
Unlike the advanced method where you configure externalJWTConfiguration in JSON format manually (How to Authenticate with External JSON Web Token), this UI for JWT Configuration allows you to set up and manage trust relationships directly in the application.

image-20250905-154504.png

Accessing the JWT Configuration Page

Navigate to Administration > Configuration > External Systems > JWT Configuration.
If no issuers are configured yet, you will see the option to create one → Click + Add issuer to create a new JWT issuer.

Adding a JWT Issuer in the UI

On the issuer configuration screen, provide the following values:

Issuer

A unique identifier for the external system (e.g., SFDC).

This is equivalent to the externalSystemName in the JSON-based configuration.

Certificate

Upload or paste the RSA public key of the external system. Pricefx uses it to verify JWT signatures. Despite the field name, enter the public key, not a certificate. The key must start with -----BEGIN PUBLIC KEY-----. If your key or certificate is in another format (for example, an SSH key or -----BEGIN CERTIFICATE-----), convert it first, see Prepare the Public Key.

Same as the publicKey field in the JSON configuration.

Permissions

Enter a comma-separated list of permissions (e.g., SALES, ADMIN, QUOTE_EDITOR).

  • If left empty, all permissions available to the user apply.

  • If specified, the trust is limited to the listed permissions.

Same behavior as the permissions array in the JSON configuration.

Click Save to store the issuer JSON configuration in an Advanced Configuration Option with the name externalJWTConfiguration.

Example Payload

{
  "sub": "root",
  "iss": "SFDC",
  "aud": "e2e-gcp-staging",
  "partition": "companypartition"
}

The iss value must match the Issuer name, aud must contain the Pricefx cluster name, and partition must match the partition you call. If the login fails, see Troubleshooting.