[PR #6349] [MERGED] refactor: Keep environment variable names consistent #6610

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6349
Author: @LovelessCodes
Created: 11/27/2025
Status: Merged
Merged: 11/28/2025
Merged by: @Bekacru

Base: canaryHead: patch-5


📝 Commits (4)

  • 7877dd6 refactor(vercel): update to use vercel_c instead of vercel_app_c
  • 7bab8c2 refactor(demo): change .env.example variables to align with docs
  • a5238df refactor(auth): make example consistent
  • ce3b3b0 refactor(example): make nextjs turbo consistent

📊 Changes

4 files changed (+10 additions, -10 deletions)

View changed files

📝 demo/nextjs/.env.example (+2 -2)
📝 demo/nextjs/lib/auth.ts (+2 -2)
📝 demo/nextjs/turbo.json (+2 -2)
📝 docs/content/docs/authentication/vercel.mdx (+4 -4)

📄 Description

Doesn't seem super efficient to start adding _APP in front of example environment variables
This doesn't have a functional change, it's just what is in the documentation, and in the nextjs example.


Summary by cubic

Standardized Vercel provider environment variables by removing the _APP prefix, keeping names consistent across the Next.js demo and docs. No behavior change; this only updates examples and config.

  • Refactors

    • Renamed to VERCEL_CLIENT_ID and VERCEL_CLIENT_SECRET in .env.example, auth.ts, turbo.json, and docs.
  • Migration

    • Replace VERCEL_APP_CLIENT_ID with VERCEL_CLIENT_ID.
    • Replace VERCEL_APP_CLIENT_SECRET with VERCEL_CLIENT_SECRET.

Written for commit ce3b3b0460. 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/6349 **Author:** [@LovelessCodes](https://github.com/LovelessCodes) **Created:** 11/27/2025 **Status:** ✅ Merged **Merged:** 11/28/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `patch-5` --- ### 📝 Commits (4) - [`7877dd6`](https://github.com/better-auth/better-auth/commit/7877dd6dddcabf14b7a5d216a88c99c27ec9c446) refactor(vercel): update to use vercel_c instead of vercel_app_c - [`7bab8c2`](https://github.com/better-auth/better-auth/commit/7bab8c2ef32f0f11d3109d258754820a3b3c40f3) refactor(demo): change .env.example variables to align with docs - [`a5238df`](https://github.com/better-auth/better-auth/commit/a5238dfbd644bad2806d6f94de0b6e6a2267fccc) refactor(auth): make example consistent - [`ce3b3b0`](https://github.com/better-auth/better-auth/commit/ce3b3b04601e7ac92e688a399421d8ec740b616c) refactor(example): make nextjs turbo consistent ### 📊 Changes **4 files changed** (+10 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `demo/nextjs/.env.example` (+2 -2) 📝 `demo/nextjs/lib/auth.ts` (+2 -2) 📝 `demo/nextjs/turbo.json` (+2 -2) 📝 `docs/content/docs/authentication/vercel.mdx` (+4 -4) </details> ### 📄 Description Doesn't seem super efficient to start adding _APP in front of example environment variables This doesn't have a functional change, it's just what is in the documentation, and in the nextjs example. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Standardized Vercel provider environment variables by removing the _APP prefix, keeping names consistent across the Next.js demo and docs. No behavior change; this only updates examples and config. - **Refactors** - Renamed to VERCEL_CLIENT_ID and VERCEL_CLIENT_SECRET in .env.example, auth.ts, turbo.json, and docs. - **Migration** - Replace VERCEL_APP_CLIENT_ID with VERCEL_CLIENT_ID. - Replace VERCEL_APP_CLIENT_SECRET with VERCEL_CLIENT_SECRET. <sup>Written for commit ce3b3b04601e7ac92e688a399421d8ec740b616c. 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:05:28 -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#6610