[PR #5841] [CLOSED] feat(social): add vercel oauth provider #6268

Closed
opened 2026-03-13 12:52:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5841
Author: @ephraimduncan
Created: 11/7/2025
Status: Closed

Base: canaryHead: feat/vercel-prodivder


📝 Commits (3)

  • a369e27 feat(social): add vercel oauth provider
  • 11a22c4 chore: add docs
  • d2c011f Merge branch 'canary' into feat/vercel-prodivder

📊 Changes

5 files changed (+228 additions, -0 deletions)

View changed files

📝 docs/components/builder/social-provider.tsx (+15 -0)
📝 docs/components/sidebar-content.tsx (+19 -0)
docs/content/docs/authentication/vercel.mdx (+63 -0)
📝 packages/core/src/social-providers/index.ts (+3 -0)
packages/core/src/social-providers/vercel.ts (+128 -0)

📄 Description

Summary by cubic

Adds a Vercel OAuth provider to enable “Sign in with Vercel,” plus docs and sidebar entry with a Vercel icon.

  • New Features
    • New provider: vercel (auth URL: https://vercel.com/oauth/authorize, token URL: https://vercel.com/api/login/oauth/token).
    • PKCE required; default scopes: openid, email, profile (configurable).
    • ID token verification via aud/clientId and iss vercel.com; refresh token support.
    • User info derived from ID token (sub, name, email, picture, email_verified) with optional mapProfileToUser/getUserInfo overrides.
    • Provider exported/registered in core; docs added at /docs/authentication/vercel; docs sidebar and builder icon updated.

Written for commit d2c011f198. 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/5841 **Author:** [@ephraimduncan](https://github.com/ephraimduncan) **Created:** 11/7/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `feat/vercel-prodivder` --- ### 📝 Commits (3) - [`a369e27`](https://github.com/better-auth/better-auth/commit/a369e2760727c54f026b4b5ba9a4a23cea21e226) feat(social): add vercel oauth provider - [`11a22c4`](https://github.com/better-auth/better-auth/commit/11a22c4235afd66764f335ebe69507e358aa536e) chore: add docs - [`d2c011f`](https://github.com/better-auth/better-auth/commit/d2c011f198578552e0589bb8b47e52bc64fab49a) Merge branch 'canary' into feat/vercel-prodivder ### 📊 Changes **5 files changed** (+228 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/social-provider.tsx` (+15 -0) 📝 `docs/components/sidebar-content.tsx` (+19 -0) ➕ `docs/content/docs/authentication/vercel.mdx` (+63 -0) 📝 `packages/core/src/social-providers/index.ts` (+3 -0) ➕ `packages/core/src/social-providers/vercel.ts` (+128 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Adds a Vercel OAuth provider to enable “Sign in with Vercel,” plus docs and sidebar entry with a Vercel icon. - **New Features** - New provider: vercel (auth URL: https://vercel.com/oauth/authorize, token URL: https://vercel.com/api/login/oauth/token). - PKCE required; default scopes: openid, email, profile (configurable). - ID token verification via aud/clientId and iss vercel.com; refresh token support. - User info derived from ID token (sub, name, email, picture, email_verified) with optional mapProfileToUser/getUserInfo overrides. - Provider exported/registered in core; docs added at /docs/authentication/vercel; docs sidebar and builder icon updated. <sup>Written for commit d2c011f198578552e0589bb8b47e52bc64fab49a. 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 12:52:56 -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#6268