OIDC plugin
Integrate OpenID Connect authentication into Payload CMS.
Installation
pnpm add payload-plugin-oidc About
This plugin enables OpenID Connect (OIDC) authentication for Payload CMS, allowing users to sign in using their own OIDC provider. It adds a sign-in button to the login page and supports user sign-in with options for creating a user if they do not already exist. The configuration includes various paths for authorization and token exchange, as well as a method to fetch user information using an access token. Users can define custom components for the sign-in button and specify whether to position it before or after the standard login fields. The plugin interacts with Passport to handle authentication and session management. Additionally, it provides flexibility in selecting the user collection to be used and the key by which users are searched, making it adaptable to different user management needs.
Package info
- Package name
payload-plugin-oidc- Latest version
1.52.0- Unpacked size
- 32 kB
- License
- MIT
- Weekly downloads
- 43
- Last publish
- Jun 12, 2025
Similar plugins
More in AuthBetter Auth
Better Auth adapter and plugins for Payload CMS.
Passkey
Adds WebAuthn passkey login and management to Payload CMS accounts via Better Auth.
TOTP
Add an extra layer of security with Time-based One-time Passwords (TOTP).
Subscribers
Manage subscribers and channels with magic link authentication.
Keycloak SSO
Adds Keycloak single sign-on to Payload CMS 3 via an OIDC auth strategy with PKCE, silent token refresh, and permission-based access control.
Simple Social Login
Adds Google and Microsoft (Entra ID) OAuth social login buttons to the Payload admin panel and authenticated collections.