Skip to main content

JWT Overview

This guide provides a complete walkthrough for setting up authentication and securely invoking TrueCredential workflows using JWT-based access. It covers everything from generating secure RSA key pairs to authenticating API requests — helping developers easily integrate with TrueCredential services.


Setup Summary

The setup process consists of two main stages:

1. Generate an RSA Key Pair

  • Create a secure public/private key pair.
  • Update your SaaS Accelerator configuration to use the public key for token validation.
  • Store the private key securely — it will be required to sign JWT tokens for authentication.

2. Generate JWT Token & Invoke Workflow

  • Use your registered Subscription ID and private key to create short-lived JWT tokens.
  • Authenticate and trigger TrueCredential workflows such as credential issuance or presentation.
  • Validate your integration using a browser or cURL command.

Sample Implementations

This guide includes ready-to-use examples in:

  • C#
  • PowerShell
  • Java

Select the implementation that best fits your environment and development tools.