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

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

# Interface: OAuthConfig

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth.ts:22](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/auth/oauth.ts#L22)

Transport options for API requests. Auth strategies carry these so every
client built from a strategy shares its config's transport.

## Extends

- [`HttpTransportOptions`](../../clients/interfaces/HttpTransportOptions.md)

## Properties

### accountManagerHost?

> `optional` **accountManagerHost**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth.ts:26](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/auth/oauth.ts#L26)

***

### clientAuthMethod?

> `optional` **clientAuthMethod**: [`ClientAuthMethod`](../type-aliases/ClientAuthMethod.md)

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth.ts:28](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/auth/oauth.ts#L28)

How client credentials are sent to Account Manager (see [ClientAuthMethod](../type-aliases/ClientAuthMethod.md))

***

### clientId

> **clientId**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth.ts:23](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/auth/oauth.ts#L23)

***

### clientSecret

> **clientSecret**: `string`

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth.ts:24](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/auth/oauth.ts#L24)

***

### scopes?

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

Defined in: [packages/b2c-tooling-sdk/src/auth/oauth.ts:25](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b099fb909260c5c00c90ca9da612a7f50c1328d4/packages/b2c-tooling-sdk/src/auth/oauth.ts#L25)
