Series Overview
Complete authentication and security patterns for Payload CMS: REST API auth, cookie-based sessions, OAuth token refresh, and production security for Next.js applications.
All Articles in Series

Mastering Payload CMS API: Authentication & Queries Explained
Unlock the power of Payload CMS with our guide to REST API authentication and efficient data querying techniques.
Learn to securely authenticate and fetch specific data from Payload CMS using REST API in our comprehensive guide.

Payload CMS Cookie Auth: 7 Troubleshooting Secrets for Next.js
Implement Payload CMS HTTP-only cookie auth with Next.js App Router: CSRF, sessions, CORS, and subdomain cookies.
Secure customer portals with Payload CMS cookie auth and Next.js: setup HTTP-only cookies, CSRF/CORS, sessions, and production fixes to stop silent 401s.

Persist Google OAuth Refresh Tokens with Next.js & Redis
Step-by-step Next.js guide using Upstash Redis to secure offline Google OAuth refresh tokens and enable background API…
Persist Google OAuth refresh tokens using Next.js and Upstash Redis to preserve refresh_token for offline access — secure background integrations without user…