Type-safe client for the Payload REST API with CRUD, auth and file uploads
JWT Validation
Verifies Payload-issued JWTs in external services without calling the CMS
Installation
pnpm add payloadcms-ext-jwt-validation About
JWT Validation lets a service outside Payload check that a token issued by Payload is genuine and still valid, without calling back to the CMS. The check runs against a derived form of the Payload secret, so the verifying service never needs the raw secret itself.
It reads the token from the Authorization header or, if you opt in, from the Payload session cookie, and returns a normalized user with id, collection, roles and email. Invalid, malformed and expired tokens each raise their own error, so an API can answer with a 401 and a clear reason.
Package info
- Package name
payloadcms-ext-jwt-validation- Latest version
1.0.0- Unpacked size
- 36 kB
- License
- MIT
- Weekly downloads
- 35
- Last publish
- Mar 12, 2026
Similar tools
More in API clients & SDKsFramework-agnostic SDK for inline visual editing on Payload-powered sites
Angular query builder that sends list queries to Payload and other backends as signals
Registers custom drag-and-drop blocks for the Olgax page builder
Lets Puck components pull filtered Payload collection items into a resolved prop
Signed client for the VAP API, plus a Payload plugin for storefront sign-in and checkout