[PR #5506] [MERGED] feat: add polar oauth provider #31648

Closed
opened 2026-04-17 22:32:22 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5506
Author: @ephraimduncan
Created: 10/22/2025
Status: Merged
Merged: 10/22/2025
Merged by: @himself65

Base: canaryHead: polar-oauth


📝 Commits (1)

📊 Changes

4 files changed (+189 additions, -0 deletions)

View changed files

📝 docs/components/sidebar-content.tsx (+20 -0)
docs/content/docs/authentication/polar.mdx (+61 -0)
📝 packages/core/src/social-providers/index.ts (+3 -0)
packages/core/src/social-providers/polar.ts (+105 -0)

📄 Description

Summary by cubic

Adds a Polar OAuth provider to enable sign-in with Polar, plus docs and a sidebar link to guide setup.

  • New Features
    • New social provider: polar (authorize, token, userinfo endpoints; default scopes: openid, profile, email).
    • Supports custom scopes, prompt, token refresh, and optional profile-to-user mapping (email verified by default).
    • Docs: Added Polar setup/usage guide and linked it in the docs sidebar.
    • Exported provider in socialProviders and public exports for easy configuration.

🔄 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/5506 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `polar-oauth` --- ### 📝 Commits (1) - [`89cb2f7`](https://github.com/better-auth/better-auth/commit/89cb2f7b35c1e60ae000040700553ab9a77f29ff) feat: add polar oauth ### 📊 Changes **4 files changed** (+189 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/sidebar-content.tsx` (+20 -0) ➕ `docs/content/docs/authentication/polar.mdx` (+61 -0) 📝 `packages/core/src/social-providers/index.ts` (+3 -0) ➕ `packages/core/src/social-providers/polar.ts` (+105 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds a Polar OAuth provider to enable sign-in with Polar, plus docs and a sidebar link to guide setup. - **New Features** - New social provider: polar (authorize, token, userinfo endpoints; default scopes: openid, profile, email). - Supports custom scopes, prompt, token refresh, and optional profile-to-user mapping (email verified by default). - Docs: Added Polar setup/usage guide and linked it in the docs sidebar. - Exported provider in socialProviders and public exports for easy configuration. <!-- 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-04-17 22:32:22 -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#31648