OAuth

Frends.OAuth.CreateJWTToken / 1.5.0

Summary

Builds a JSON Web Token from the claims, lifetime and audience you specify and signs it with a certificate or private key, producing a credential rather than validating one.

Typical use — authenticating to services that expect a self-signed assertion instead of a shared secret; the signing key belongs in an environment variable, never in the Process

Details

Frends version
5.7 and newer
Agent
Crossplatform
Target framework
net8.0
1.5.02026-11-12
Changed
  • Updated the task result with Success and Error parameters
  • Added Options tab to handle error handling with ThrowErrorOnFailure and ErrorMessageOnFailure properties.
  • Updated the task and tests to target .NET 8.
1.4.02025-11-18

Fixes

  • Fix disposing of a private key issue when a task is reused in a process.
1.3.02024-08-21
Added
  • Support for new IdentityModel-version.
1.2.02023-12-21
Added
  • Support for ES256, ES384 and ES512 encryption algorithms.
1.1.02023-12-04
Added
  • Not Before claim set to optional. Added feature to add customer headers to JWT header.
1.0.02022-06-29
Added
  • Initial implementation
An unhandled error has occurred. Reload 🗙
Reconnecting… Connection lost.