OAuth2 Plus

Adds OAuth2 sign-in to a Payload auth collection, with Apple Sign In support

Community 1 5/wk MIT v1.0.2

Installation

pnpm add @omnipixel/payload-oauth2-plus

About

OAuth2 Plus lets people sign in to a Payload admin account through an external identity provider such as Google or Apple. Once a user completes the provider's login, the plugin matches them to a record in your auth collection, creating one on first sign-in if needed, and stores the provider's user ID alongside it. Apple sign-in is handled too, including the form post response Apple requires when name and email are requested. Developers can choose which collection holds the accounts, map the profile data they want saved, and decide where users land after a successful or failed login.

Package info

Package name
@omnipixel/payload-oauth2-plus
Latest version
1.0.2
Unpacked size
44 kB
License
MIT
Weekly downloads
5
Last publish
Jan 5, 2025

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