Skip to content

base64UrlDecode

base64UrlDecode(str): Uint8Array

Defined in: packages/core/src/crypto.ts:27

Decodes a base64url string back to a byte array.

string

Base64url-encoded string (with or without padding).

Uint8Array

Decoded bytes.

OidcError with code INVALID_JWT if the input is not valid base64url.