Auth Cookie

Logs Payload users in from cookies set by an external SSO system

Community 3 331/wk MIT v0.0.15

Installation

pnpm add payload-auth-cookie

About

Auth Cookie lets Payload users sign in with a session cookie that an external single sign-on system already sets in the browser. When someone opens the admin panel or a frontend login route without a valid session, they are sent to the SSO login page and return signed in to Payload. The cookie can be checked against the SSO provider's session endpoint, or a signed JSON Web Token can be verified locally with a shared secret, which skips the extra network call.

New users can be created on first login when sign-up is allowed, and name, email and profile picture values are copied from the SSO response into the users collection.

Package info

Package name
payload-auth-cookie
Latest version
0.0.15
Unpacked size
124 kB
License
MIT
Weekly downloads
331
Last publish
Nov 13, 2026

More from supaku

View profile

Webring host with prev, next and random links, and a Payload collection for members

Similar plugins

More in Auth

Birth month and year check at sign-up that flags minors by country and region

Lets one Payload admin panel manage content for many separate tenants

Linked accounts and role hats, with a second factor before switching to a sensitive role

Sells digital products with signed download links that expire and stop on refund

Adds passkey sign-in and passkey management to the Payload login and account screens

Lets AI assistants read and edit Payload content over MCP with scoped API keys