> ## Documentation Index
> Fetch the complete documentation index at: https://docs.crossmint.com/llms.txt
> Use this file to discover all available pages before exploring further.

# verifyCrossmintJwt

> **verifyCrossmintJwt**(`token`, `jwks`): `Promise`\<`JWTPayload`>

Defined in: [server/src/auth/utils/jwt.ts:9](https://github.com/Crossmint/crossmint-sdk/blob/main/packages/server/src/auth/utils/jwt.ts#L9)

Verify a Crossmint-issued JWT against the given JWKS (endpoint URI or key set) and return its decoded payload.

## Parameters

| Parameter | Type                                     |
| --------- | ---------------------------------------- |
| `token`   | `string`                                 |
| `jwks`    | [`JWKSInput`](../type-aliases/JWKSInput) |

## Returns

`Promise`\<`JWTPayload`>
