[PR #6273] [MERGED] feat(cli): check /auth for auth.ts #32159

Closed
opened 2026-04-17 23:00:57 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6273
Author: @ping-maxwell
Created: 11/24/2025
Status: Merged
Merged: 11/24/2025
Merged by: @Bekacru

Base: canaryHead: feat/cli-to-support-auth-dir


📝 Commits (2)

  • 49a979f feat(cli): check /auth for auth.ts
  • f19ae02 Update get-config.ts

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 packages/cli/src/utils/get-config.ts (+2 -0)

📄 Description

Allows users to add their auth.ts under @/auth if desired.

https://discord.com/channels/1288403910284935179/1288403910284935182/1442600288182599751


Summary by cubic

The CLI now searches /auth and /server/auth for auth.ts when resolving config. This lets you place auth.ts under @/auth or @/server/auth without extra setup.

Written for commit f19ae021b3. 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/6273 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 11/24/2025 **Status:** ✅ Merged **Merged:** 11/24/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `feat/cli-to-support-auth-dir` --- ### 📝 Commits (2) - [`49a979f`](https://github.com/better-auth/better-auth/commit/49a979f6e1437fa7b9ef3cd5ef546e47a6f52dd3) feat(cli): check `/auth` for `auth.ts` - [`f19ae02`](https://github.com/better-auth/better-auth/commit/f19ae021b3a6c0b917b776a7323b039ae52888d5) Update get-config.ts ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/cli/src/utils/get-config.ts` (+2 -0) </details> ### 📄 Description Allows users to add their `auth.ts` under `@/auth` if desired. https://discord.com/channels/1288403910284935179/1288403910284935182/1442600288182599751 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic The CLI now searches /auth and /server/auth for auth.ts when resolving config. This lets you place auth.ts under @/auth or @/server/auth without extra setup. <sup>Written for commit f19ae021b3a6c0b917b776a7323b039ae52888d5. 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-04-17 23:00:57 -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#32159