Auth Plugin

Adds OAuth and OIDC sign-in to any collection, not only admin users

Community 2 5/wk MIT v0.6.0

Installation

pnpm add @vladanilicjs/payload-auth-plugin

About

Auth Plugin lets people sign in to a Payload site with Google and other OAuth or OIDC accounts. By default, the linked accounts attach to the admin users collection, so editors can log in with a provider they already use. The plugin can also attach accounts to another collection, such as customers, which allows a separate sign-in flow for shoppers or members.

When sign-up is enabled, a new record is created on first sign-in, and an existing record is matched by a field such as email. After login, the user is redirected to a path you choose, such as the customer list in the admin panel.

Package info

Package name
@vladanilicjs/payload-auth-plugin
Latest version
0.6.0
Unpacked size
164 kB
License
MIT
Weekly downloads
5
Last publish
Jan 26, 2026

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