OIDC plugin

Integrate OpenID Connect authentication into Payload CMS.

Community 34 59/wk MIT v1.52.0

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
59
Last publish
Jun 12, 2025

More from gousta

View profile

Similar plugins

More in Auth