[PR #1876] [CLOSED] feat(cli): custom cli config #12290

Closed
opened 2026-04-13 08:17:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1876
Author: @Kinfe123
Created: 3/19/2025
Status: Closed

Base: mainHead: feat/custom-cli-config


📝 Commits (10+)

📊 Changes

30 files changed (+577 additions, -153 deletions)

View changed files

demo/nextjs/better-auth.config.ts (+9 -0)
📝 demo/nextjs/package.json (+2 -1)
📝 docs/components/features.tsx (+1 -1)
📝 docs/content/docs/plugins/anonymous.mdx (+1 -1)
📝 docs/package.json (+2 -2)
📝 packages/better-auth/package.json (+1 -1)
📝 packages/better-auth/src/api/routes/sign-in.ts (+10 -0)
📝 packages/better-auth/src/oauth2/create-authorization-url.ts (+30 -10)
📝 packages/better-auth/src/oauth2/types.ts (+15 -0)
📝 packages/better-auth/src/plugins/generic-oauth/index.ts (+17 -13)
📝 packages/better-auth/src/plugins/username/index.ts (+0 -4)
📝 packages/better-auth/src/social-providers/apple.ts (+12 -9)
📝 packages/better-auth/src/social-providers/facebook.ts (+2 -1)
📝 packages/better-auth/src/social-providers/github.ts (+2 -1)
📝 packages/better-auth/src/social-providers/gitlab.ts (+2 -0)
📝 packages/better-auth/src/social-providers/google.ts (+22 -9)
📝 packages/better-auth/src/social-providers/linkedin.ts (+7 -1)
📝 packages/better-auth/src/social-providers/microsoft-entra-id.ts (+1 -7)
📝 packages/better-auth/src/types/options.ts (+1 -1)
📝 packages/cli/package.json (+3 -1)

...and 10 more files

📄 Description

closes #874


🔄 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/1876 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 3/19/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/custom-cli-config` --- ### 📝 Commits (10+) - [`ae53ac4`](https://github.com/better-auth/better-auth/commit/ae53ac41dd829ec59a6816f76cb8f26fa1a92eb3) feat: custom cli config - [`e8de5ef`](https://github.com/better-auth/better-auth/commit/e8de5ef9b4696699cf6241007893f4a21f8145a5) lint - [`2f97e13`](https://github.com/better-auth/better-auth/commit/2f97e13edb66944c4a60a2010865ffd3bbadbf1e) lock file - [`e5a20e0`](https://github.com/better-auth/better-auth/commit/e5a20e079cfb11b4be2aab807c330bed748cce45) lock file - [`6c7cf61`](https://github.com/better-auth/better-auth/commit/6c7cf6177f68c3639480647c8f2b684d08913354) config values and log issue - [`f6a7677`](https://github.com/better-auth/better-auth/commit/f6a76779d399ed6d3cdacbed62162b751b43e6f6) build - [`e49bd32`](https://github.com/better-auth/better-auth/commit/e49bd3223aaf68ff919304ebaccda0b28ad4eb71) feat: options for configs - [`7a2ee86`](https://github.com/better-auth/better-auth/commit/7a2ee860542b20806595b1957d159484a27a3eaf) chore(docs): typo in anonymous linking explanation (#1871) - [`ccfe392`](https://github.com/better-auth/better-auth/commit/ccfe392b00f5c5cea8e12e2f1414b07771fcffb0) docs: fix typo in features sections (#1878) - [`bbdb48f`](https://github.com/better-auth/better-auth/commit/bbdb48f76efd131b28344513564eb582f54690d1) fix(oauth): support passing prompt, access_type, type_hint and additional params when constructing authorization URL (#1888) ### 📊 Changes **30 files changed** (+577 additions, -153 deletions) <details> <summary>View changed files</summary> ➕ `demo/nextjs/better-auth.config.ts` (+9 -0) 📝 `demo/nextjs/package.json` (+2 -1) 📝 `docs/components/features.tsx` (+1 -1) 📝 `docs/content/docs/plugins/anonymous.mdx` (+1 -1) 📝 `docs/package.json` (+2 -2) 📝 `packages/better-auth/package.json` (+1 -1) 📝 `packages/better-auth/src/api/routes/sign-in.ts` (+10 -0) 📝 `packages/better-auth/src/oauth2/create-authorization-url.ts` (+30 -10) 📝 `packages/better-auth/src/oauth2/types.ts` (+15 -0) 📝 `packages/better-auth/src/plugins/generic-oauth/index.ts` (+17 -13) 📝 `packages/better-auth/src/plugins/username/index.ts` (+0 -4) 📝 `packages/better-auth/src/social-providers/apple.ts` (+12 -9) 📝 `packages/better-auth/src/social-providers/facebook.ts` (+2 -1) 📝 `packages/better-auth/src/social-providers/github.ts` (+2 -1) 📝 `packages/better-auth/src/social-providers/gitlab.ts` (+2 -0) 📝 `packages/better-auth/src/social-providers/google.ts` (+22 -9) 📝 `packages/better-auth/src/social-providers/linkedin.ts` (+7 -1) 📝 `packages/better-auth/src/social-providers/microsoft-entra-id.ts` (+1 -7) 📝 `packages/better-auth/src/types/options.ts` (+1 -1) 📝 `packages/cli/package.json` (+3 -1) _...and 10 more files_ </details> ### 📄 Description closes #874 --- <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-13 08:17:46 -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#12290