Function: ClientSecretJwt()

March 6, 2026 ยท View on GitHub

๐Ÿ’— Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


โ–ธ ClientSecretJwt(clientSecret, options?): ClientAuth

client_secret_jwt uses the HTTP request body to send client_id, client_assertion_type, and client_assertion as application/x-www-form-urlencoded body parameters. HMAC is used for the assertion's authenticity and integrity.

Parameters

ParameterTypeDescription
clientSecretstring-
options?ModifyAssertionOptions-

Returns

ClientAuth

Example

let clientSecret!: string

let clientAuth = oauth.ClientSecretJwt(clientSecret)

See