---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [auth](../index.md) / JwtOAuthConfig

# Interface: JwtOAuthConfig

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts:30](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts#L30)

Configuration for JWT Bearer authentication.

## Properties

### accountManagerHost

> **accountManagerHost**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts:40](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts#L40)

Account Manager hostname

***

### certPath

> **certPath**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts:34](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts#L34)

Path to JWT certificate file (cert.pem)

***

### clientId

> **clientId**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts:32](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts#L32)

OAuth client ID

***

### keyPath

> **keyPath**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts:36](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts#L36)

Path to JWT private key file (key.pem)

***

### passphrase?

> `optional` **passphrase**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts:38](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts#L38)

Optional passphrase for encrypted private key

***

### scopes?

> `optional` **scopes**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts:42](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/5f9b348d598ad92ddf670da42e944b204395bdc8/packages/b2c-tooling-sdk/src/auth/oauth-jwt.ts#L42)

OAuth scopes to request
