WorkOS OAuth

Adds Google sign-in through WorkOS to the Payload admin login page

Community 2 24/wk MIT v2.0.0

Installation

pnpm add payload-workos-oauth

About

WorkOS OAuth adds a Google sign-in button to the Payload admin login page. Visitors who click it are sent to Google through WorkOS, and when they return, the plugin matches their email to an existing Payload user and signs them in.

Only users with the admin role can sign in this way, so other users in your collection cannot reach the admin panel through Google. You can keep the email and password form beside the button or hide it. The button text can be changed, or the button can be swapped for your own component.

Requires a WorkOS account with Google enabled as a provider.

Package info

Package name
payload-workos-oauth
Latest version
2.0.0
Unpacked size
34 kB
License
MIT
Weekly downloads
24
Last publish
Jan 19, 2026

More from beewhoo

View profile

Broadcasts collection create, update and delete events to connected browsers in real time

Real-time WebSocket events for Payload collections with JWT auth and Redis

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