[PR #6245] [MERGED] feat: add patreon social provider #6544

Closed
opened 2026-03-13 13:02:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6245
Author: @Spuffynism
Created: 11/23/2025
Status: Merged
Merged: 12/17/2025
Merged by: @himself65

Base: canaryHead: patreon-social


📝 Commits (10+)

📊 Changes

3 files changed (+91 additions, -1 deletions)

View changed files

📝 docs/content/docs/plugins/generic-oauth.mdx (+7 -1)
📝 packages/better-auth/src/plugins/generic-oauth/providers/index.ts (+1 -0)
packages/better-auth/src/plugins/generic-oauth/providers/patreon.ts (+83 -0)

📄 Description

Rebase https://github.com/better-auth/better-auth/pull/1919 on canary, since the PR targeted main.

Closes https://github.com/better-auth/better-auth/issues/1668


Summary by cubic

Added a Patreon OAuth provider to enable sign-in via Patreon. Updated docs to show usage and exported the provider in the generic OAuth providers index.

  • New Features
    • New provider: patreon() with default scope identity[email].
    • Endpoints: authorize https://www.patreon.com/oauth2/authorize; token https://www.patreon.com/api/oauth2/token.
    • User info: fetches v2 identity and maps id, name, email, image, emailVerified.
    • Options: supports scopes, redirectURI, pkce, disableImplicitSignUp, disableSignUp, overrideUserInfo.
    • Docs: updated generic OAuth guide (added to provider list and example import/usage).

Written for commit 54c8c64a0c. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/6245 **Author:** [@Spuffynism](https://github.com/Spuffynism) **Created:** 11/23/2025 **Status:** ✅ Merged **Merged:** 12/17/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `patreon-social` --- ### 📝 Commits (10+) - [`7bb9a4e`](https://github.com/better-auth/better-auth/commit/7bb9a4e1f5749764a498ee84808ac01420cb050c) Add Patreon - [`fdcb898`](https://github.com/better-auth/better-auth/commit/fdcb898e36f04d79e84caa66b9ac043eb76bdc7e) Log - [`2d1016d`](https://github.com/better-auth/better-auth/commit/2d1016d9f168bbb44924827b77b3882a7f42ea55) Stringify id - [`d051f64`](https://github.com/better-auth/better-auth/commit/d051f64e948e29f843c7fb9e7ad905002bb6ba54) Add doc - [`1777906`](https://github.com/better-auth/better-auth/commit/1777906294a8e95aa7578098cc9f689c401cb811) Remove console log - [`e88d14a`](https://github.com/better-auth/better-auth/commit/e88d14a690520d1c1bbdee5e93ee2f76eaa93399) lint - [`9aff6f3`](https://github.com/better-auth/better-auth/commit/9aff6f333f931e6550c2a5bf4307ce38c08caddf) fix import order - [`e95c6f9`](https://github.com/better-auth/better-auth/commit/e95c6f94f48b6941d8a7258912852429f168876b) fix format - [`9946f50`](https://github.com/better-auth/better-auth/commit/9946f5066a9611f1376a08499a4e1a2363ff764d) add missing options - [`4db1353`](https://github.com/better-auth/better-auth/commit/4db13536e3aade393f43f19ecf48974ce419192c) lint ### 📊 Changes **3 files changed** (+91 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/generic-oauth.mdx` (+7 -1) 📝 `packages/better-auth/src/plugins/generic-oauth/providers/index.ts` (+1 -0) ➕ `packages/better-auth/src/plugins/generic-oauth/providers/patreon.ts` (+83 -0) </details> ### 📄 Description Rebase https://github.com/better-auth/better-auth/pull/1919 on canary, since the PR targeted main. Closes https://github.com/better-auth/better-auth/issues/1668 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Added a Patreon OAuth provider to enable sign-in via Patreon. Updated docs to show usage and exported the provider in the generic OAuth providers index. - **New Features** - New provider: patreon() with default scope identity[email]. - Endpoints: authorize https://www.patreon.com/oauth2/authorize; token https://www.patreon.com/api/oauth2/token. - User info: fetches v2 identity and maps id, name, email, image, emailVerified. - Options: supports scopes, redirectURI, pkce, disableImplicitSignUp, disableSignUp, overrideUserInfo. - Docs: updated generic OAuth guide (added to provider list and example import/usage). <sup>Written for commit 54c8c64a0c064e612a3d35b53bdae9c42a603d9c. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 13:02:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#6544