Auth Plugin

Single sign-on with OAuth, OpenID Connect and SAML for Payload user logins

Community 0 452/wk MIT v0.2.0

Installation

pnpm add @thinkhuman/payload-plugin-auth

About

Auth Plugin adds single sign-on to the users collection of a Payload app. Visitors can sign in with GitHub, Google, Microsoft Entra ID, GitLab, Discord, any OpenID Connect provider, any plain OAuth 2.0 server or a SAML 2.0 identity provider. The session that results is the same as a password login, so access rules and roles work as before.

Accounts are matched by the provider's user ID first, then by a verified email address, and a new user can be created on first sign-in. One user can hold several linked sign-in methods. For hosted products, SSO connections can be loaded per customer organization at request time, so each tenant brings its own identity provider.

Package info

Package name
@thinkhuman/payload-plugin-auth
Latest version
0.2.0
Unpacked size
256 kB
License
MIT
Weekly downloads
452
Last publish
Nov 1, 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