Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wilsonle/payload-oauth2
Plugin for PayloadCMS to integrate OAuth2
https://github.com/wilsonle/payload-oauth2
github-authentication google-authentication oauth oauth2 oidc payload payload-plugin payloadcms
Last synced: about 1 month ago
JSON representation
Plugin for PayloadCMS to integrate OAuth2
- Host: GitHub
- URL: https://github.com/wilsonle/payload-oauth2
- Owner: WilsonLe
- License: mit
- Created: 2024-04-28T22:08:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-06-19T01:36:05.000Z (8 months ago)
- Last Synced: 2024-07-30T10:45:11.077Z (6 months ago)
- Topics: github-authentication, google-authentication, oauth, oauth2, oidc, payload, payload-plugin, payloadcms
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/payload-oauth2
- Size: 651 KB
- Stars: 16
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 | [![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) |
| 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) |# Installation
```
npm install payload-oauth2
yarn install payload-oauth2
pnpm install payload-oauth2
```# 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 [License File](LICENSE) for more information.
# Credits
This package was inspired by [Payload Plugin OAuth](https://github.com/thgh/payload-plugin-oauth).