{"id":23283579,"url":"https://github.com/wilsonle/payload-oauth2","last_synced_at":"2025-08-21T15:33:46.804Z","repository":{"id":236848407,"uuid":"793272573","full_name":"WilsonLe/payload-oauth2","owner":"WilsonLe","description":"Plugin for PayloadCMS to integrate OAuth2","archived":false,"fork":false,"pushed_at":"2025-07-29T00:05:43.000Z","size":672,"stargazers_count":135,"open_issues_count":6,"forks_count":19,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-09T13:08:22.763Z","etag":null,"topics":["github","github-authentication","google","google-authentication","oauth","oauth2","oidc","payload","payload-plugin","payloadcms","sso","sso-authentication","zitadel","zitadel-authentication"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/payload-oauth2","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WilsonLe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-28T22:08:38.000Z","updated_at":"2025-08-02T14:46:04.000Z","dependencies_parsed_at":"2024-05-16T14:45:40.082Z","dependency_job_id":"643b8d20-7aef-467c-b73d-ab683e3f17c7","html_url":"https://github.com/WilsonLe/payload-oauth2","commit_stats":null,"previous_names":["wilsonle/payload-oauth2"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/WilsonLe/payload-oauth2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilsonLe%2Fpayload-oauth2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilsonLe%2Fpayload-oauth2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilsonLe%2Fpayload-oauth2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilsonLe%2Fpayload-oauth2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WilsonLe","download_url":"https://codeload.github.com/WilsonLe/payload-oauth2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WilsonLe%2Fpayload-oauth2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271500374,"owners_count":24770377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github","github-authentication","google","google-authentication","oauth","oauth2","oidc","payload","payload-plugin","payloadcms","sso","sso-authentication","zitadel","zitadel-authentication"],"created_at":"2024-12-20T01:22:36.672Z","updated_at":"2025-08-21T15:33:46.794Z","avatar_url":"https://github.com/WilsonLe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Payload OAuth2 Plugin\n\n\u003ca href=\"LICENSE\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/license-MIT-brightgreen.svg\" alt=\"Software License\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/wilsonle/payload-oauth2/issues\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/issues/wilsonle/payload-oauth2.svg\" alt=\"Issues\" /\u003e\n\u003c/a\u003e\n\u003ca href=\"https://npmjs.org/package/payload-oauth2\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/payload-oauth2.svg?style=flat-squar\" alt=\"NPM\" /\u003e\n\u003c/a\u003e\n\n# Features\n\n- ✅ Compatible with Payload v3\n- 🔐 Configures OAuth2 with any providers\n- ✨ Zero dependencies\n- ⚙ Highly customizable\n\n# Integrations\n\nTechnically this plugin should work with all generic OAuth2 providers. Here are the list of providers that have been tested:\n\n| Provider | Status                                                                                                                                                                                                      | Example                         |\n| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- |\n| Google   | [![Test Google OAuth](https://github.com/WilsonLe/payload-oauth2/actions/workflows/test-google-oauth.yml/badge.svg)](https://github.com/WilsonLe/payload-oauth2/actions/workflows/test-google-oauth.yml)    | [Config](./examples/google.ts)  |\n| Zitadel  | [![Test Zitadel OAuth](https://github.com/WilsonLe/payload-oauth2/actions/workflows/test-zitadel-oauth.yml/badge.svg)](https://github.com/WilsonLe/payload-oauth2/actions/workflows/test-zitadel-oauth.yml) | [Config](./examples/zitadel.ts) |\n| Apple    | Test not implemented                                                                                                                                                                                        | [Config](./examples/apple.ts)   |\n\n# Installation\n\n```\nnpm install payload-oauth2\nyarn install payload-oauth2\npnpm install payload-oauth2\n```\n\nIf you are feeling adventurous and want to manage the plugin yourself, you can copy the `src` directory into your payload projects.\n\n# Contributing\n\nContributions and feedback are very welcome.\n\nTo get it running:\n\n1. Clone the project.\n2. `pnpm install`\n3. `pnpm dev`\n\n# License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n# Credits\n\nThis package was inspired by [Payload Plugin OAuth](https://github.com/thgh/payload-plugin-oauth).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonle%2Fpayload-oauth2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilsonle%2Fpayload-oauth2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilsonle%2Fpayload-oauth2/lists"}