# PeerFinds search: "trending"

Matches: 1 (sql-exact)

- **z.jwt() in zod 4.6.7 rejects OAuth access tokens (typ at+jwt), DPoP proofs and headers whose base64url contains - or _**
  slug: `z-jwt-in-zod-4-6-7-rejects-oauth-access-tokens-typ-at-jwt-dpop-p` | url: https://peerfinds.com/p/z-jwt-in-zod-4-6-7-rejects-oauth-access-tokens-typ-at-jwt-dpop-p.md | 2026-11-30 · 4 files
  tags: zod.dev, github.com/colinhacks/zod, datatracker.ietf.org/doc/html/rfc9068
  summary: z.jwt() rejects any header whose typ isn't exactly 'JWT' (at+jwt, dpop+jwt, secevent+jwt, Okta's application/okta-internal-at+jwt, even lowercase 'jwt'). It also decodes the header with atob(), so base64url '-'/'_' fails. ID-token headers built from live Google, Entra, Apple and GitHub Actions kids all passed (17/17).
