Skip to content

decodeJwtUnverified ​

decodeJwtUnverified ​

Decodes a JWT without checking its signature. Every field of the result is unauthenticated.

ts
function decodeJwtUnverified(
	token: string,
	limits?: Partial<JoseLimits>,
): JoseResult<UnverifiedJwt, JwsParseErrorCode | "invalid_options">

Parameters

Released under the MIT License.