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

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

# Function: decodeJWT()

> **decodeJWT**(`jwt`): [`DecodedJWT`](../interfaces/DecodedJWT.md)

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

Decodes a JWT token without verification.
Exported for use by other auth strategies.

## Parameters

### jwt

`string`

## Returns

[`DecodedJWT`](../interfaces/DecodedJWT.md)
