{"repo":"WilsonLe/payload-oauth2","free":true,"listed":false,"github":"https://github.com/WilsonLe/payload-oauth2","clone":"git clone https://github.com/WilsonLe/payload-oauth2.git","description":"Plugin for PayloadCMS to integrate OAuth2","language":"TypeScript","stars":196,"topics":["github-authentication","google-authentication","oauth","oauth2","oidc","payload","payload-plugin","payloadcms","github","google"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Payload OAuth2 Plugin Features - ✅ Compatible with Payload v3 - 🔐 Configures OAuth2 with any providers - ✨ Zero dependencies - ⚙ Highly customizable Integrations Technically this plugin should work with all generic OAuth2 providers. Here are the list of providers that have been tested: Provider Status Example -------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------- Google Config Zitadel Config Apple Test not implemented Config Installation If you are feeling adventurous and want to manage the plugin yourself, you can copy the src directory into your payload projects. Starting the OAuth flow Create a normal browser navigation to the Payload authorize endpoint from your login UI: In Next.js App Router apps, prefer not to start OAuth with next/link or router.push() for the authorize endpoint. The endpoint returns a redirect to the OAuth provider, not a React Server Component payload. The plugin defensively ignores Next.js RSC navigation probes so client routing can fall back without the noisy Failed to fetch RSC payload ... Falling back to browser navigation log, but normal document navigation is still the most direct option. Contributing Contributions and feedback are very welcome. To get it running: 1. Clone the project. 2. pnpm install 3. pnpm dev License The MIT License (MIT). Please see L","default_branch":null,"files":null,"tree":[],"storefront":"/r/WilsonLe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/WilsonLe/payload-oauth2/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}