Generating JWT Credentials
You can create OAuth 2.0 client credentials using the JSON Web Token (JWT) grant type to integrate with your third-party applications. This unique grant type allows customers to authenticate applications with Registered Claim Names.
To create the credential
For the purpose of demonstrating how to create this credential type, we are choosing Generic as the example system. Other supported systems such as Bigquery, GSuite, or Box can be used as the target system and may populate fields in different orders than show here.
JWT Claims Reference
- Field
- Description
- Subject ("sub")
-
Enter the Subject Claim.
- Audience ("aud")
-
Enter the Audience Claim. Some systems will default to
https://oauth2.googleapis.com/token - Issuer ("iss")
-
Enter the Issuer Claim.
- Expiration Time ("exp")
-
Enter the Expiration Time in seconds. The expiration claim will be calculated as the supplied number of seconds from token creation.
- Include Not Before ("nbf")
-
Enable to include nbf claim set to time stamp of token creation.
- Include Issued At ("iat")
-
Enable to include iat claim set to time stamp of token creation.
- Include JWT ID ("jti")
-
Enable to include jti header set to random GUID on token creation.
- Additional Headers
-
Include any additional headers here in JSON format. The "typ" and "alg" headers are added automatically.
- Custom Claims
-
Enter any custom claims here in JSON format. Do not include any of these seven claims above as they will be dropped from the claims if added here.