---
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:24](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/e7c16f1ae423da0aa47b3e10be88f9770b53619b/packages/b2c-tooling-sdk/src/auth/oauth.ts#L24)

Decodes a JWT token without verification

## Parameters

### jwt

`string`

## Returns

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