What is a JWT OAuth provider?
A JWT OAuth provider lets your AI assistant authenticate automatically against external APIs. Instead of using static API keys, a signed JWT (JSON Web Token) is created and exchanged for a short-lived access token. Expired tokens are renewed automatically.Security: All stored credentials (private keys, tokens) are stored encrypted and are only accessible to your account.
- Google Cloud APIs (e.g. Google Calendar, Google Sheets)
- Microsoft Graph API (e.g. Outlook, Teams)
- TKP / soft-nrg workshop planning system
Where do I find the OAuth providers?
- Click your Account in the bottom left
- Select OAuth providers
Where is the OAuth provider used?
In the API tool
When creating or editing an API tool, you will find the dropdown “Link OAuth provider (optional)”. Here you can select a previously created OAuth provider. The AI assistant then automatically uses a valid access token for every API call and renews it on its own as soon as it expires. Below the dropdown you will find the link ”+ Create new OAuth provider”, which opens the OAuth provider management in a new tab.In the TKP integration
When configuring the TKP integration (workshop appointments), a JWT OAuth provider is required. Select the matching provider from the dropdown.Create a new JWT OAuth provider
- Open the OAuth providers page
- Click the dropdown “Create new OAuth provider”
- Select “JWT OAuth”
- Optional: choose a Quick Start template (Google, Microsoft, or TKP)
- Fill in the remaining fields
- Test the connection
- Click Save
Quick Start templates
When creating a new JWT OAuth provider, three preconfigured templates are available. They fill in most fields automatically — you only need to enter your individual credentials.Note: Quick Start templates are only available when creating new providers (not when editing). Sensitive data you have already entered (private key, issuer) is preserved when switching templates.
Form fields in detail
Basic settings
JWT signing
JWT claims (payload)
Response format
Advanced options
Example: TKP workshop planning
Automatically filled fields:- Token URL:
https://auth.soft-nrg.com/oauth/token - Algorithm: RS256
- JWT lifetime: 300 seconds
- Audience:
https://auth.soft-nrg.com/oauth/token - Scope:
scope.api.planning.extendedplan - Grant type:
urn:ietf:params:oauth:grant-type:jwt-bearer
- Name — e.g. “TKP Werkstatt Prod”
- Private key — your RSA private key in PEM format (provided by soft-nrg)
- Key ID — your key ID from soft-nrg (if available)
- Issuer (iss) — your client ID from soft-nrg
- Subject (sub) — if specified by soft-nrg
Example: Google Cloud API
Automatically filled fields:- Token URL:
https://oauth2.googleapis.com/token - Algorithm: RS256
- JWT lifetime: 3600 seconds (1 hour)
- Audience:
https://oauth2.googleapis.com/token - Grant type:
urn:ietf:params:oauth:grant-type:jwt-bearer
- Name — e.g. “Google Calendar Prod”
- Private key — from the Google Cloud service account JSON file (field
private_key) - Key ID — from the JSON file (field
private_key_id), if available - Issuer (iss) — the service account email (e.g.
mein-service@projekt.iam.gserviceaccount.com) - Subject (sub) — the email of the user on whose behalf the assistant acts (with domain-wide delegation)
- Scope — the required permissions, e.g.:
- Google Calendar:
https://www.googleapis.com/auth/calendar - Google Sheets:
https://www.googleapis.com/auth/spreadsheets
- Google Calendar:
Example: Microsoft Graph API
Automatically filled fields:- Token URL:
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token - Algorithm: RS256
- JWT lifetime: 600 seconds (10 minutes)
- Audience:
https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token - Grant type:
client_credentials - Client assertion type:
urn:ietf:params:oauth:client-assertion-type:jwt-bearer - Send scope in POST body: Enabled
- Name — e.g. “Microsoft Graph Prod”
- Token URL — replace
{tenant}with your Azure tenant ID - Audience — replace
{tenant}with your Azure tenant ID - Private key — your certificate’s private key in PEM format
- Key ID — the thumbprint of your certificate
- Issuer (iss) — your Azure application (client) ID
- Subject (sub) — your Azure application (client) ID (identical to the issuer for Microsoft)
- Scope — e.g.
https://graph.microsoft.com/.default - Header extras (optional) —
{"x5t":"YOUR_CERTIFICATE_THUMBPRINT"}(hex values are automatically converted to Base64url)
Test the connection
After filling in the form, you can test the connection before saving the provider:- Click Test connection
- The system creates a JWT and exchanges it for an access token
- On success, the received token is displayed
- On failure, the OAuth server’s error message is displayed
Tip: You can also test the connection without saving the provider. This lets you try out different configurations.