Authentication for Payload CMS admins, site users and AI agents 74

Two-factor and SSO admin login, social and magic-link sign-in for site members, separate session cookies and MCP agent login for Payload CMS.

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

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

Adds document and field comments with @mentions to the Payload admin panel

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

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

Adds OpenID Connect sign-in to the admin, with roles synced from provider groups

Sign-up with open, approval, invite-only or closed modes, switchable in the admin

Drag-and-drop site menus with dropdowns, headings, visibility rules and language-aware sorting

Adds two-step sign-in to Payload with authenticator, email and recovery codes

Lets admins sign in as another user to see exactly what that user sees

Lets administrators switch to any user account from the admin panel without a password

Adds passkey sign-in to the admin login alongside email and password

Gives each auth collection its own session cookie so admin and frontend logins coexist

Admin chat view where editors read, create and update Payload content in plain language

Signs Payload users in through Zitadel with OIDC and API bearer tokens

Adds TOTP two-factor sign-in codes to a Payload auth collection

Lets an authorised admin sign in as another user without their password

Connects Better Auth sign-in, sessions, passkeys and 2FA to Payload users

Single sign-on for Payload through one OpenID Connect provider with claim-based roles

About these packages

On the admin side, TOTP, MFA and Two-Factor Authentication add a second step with authenticator codes. Cloudflare Access, Keycloak SSO and Auth0 hand the login to an identity provider, and Simple Social Login adds Google and Microsoft buttons. Payload Auth goes furthest: it swaps the admin login for Better Auth and shares one session and user table with your app.

Website members are a separate case. Auth Plugin adds OAuth, OpenID Connect, password and passkey sign-in to a frontend app, and since its password flow sends email, it needs an email adapter. Subscribers and Magic Login sign people in with emailed links, and Dual Session gives the auth collections you name their own cookies, so an editor's admin session and a customer's site session stay live in the same browser.

The tag also reaches outside the auth category. The official MCP plugin gives auth-enabled collections login, password reset and verification tools, so an AI agent can act for a user, and MCP OAuth puts OAuth 2.1 with PKCE in front of a Payload MCP server for Claude.ai connectors. Real-Time and uWebSocket check Payload authentication before a browser receives live updates.

What a signed-in user may do is covered under the authorization tag. The auth category lists sign-in and role plugins together.