[PR #2193] [MERGED] feat(customPaths): Provides an option to modify api paths #12438

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2193
Author: @CrutchTheClutch
Created: 4/9/2025
Status: Merged
Merged: 5/28/2025
Merged by: @Kinfe123

Base: mainHead: main


📝 Commits (4)

📊 Changes

4 files changed (+51 additions, -1 deletions)

View changed files

📝 docs/content/docs/reference/options.mdx (+13 -0)
📝 packages/better-auth/src/api/index.ts (+16 -0)
📝 packages/better-auth/src/api/to-auth-endpoints.test.ts (+16 -1)
📝 packages/better-auth/src/types/options.ts (+6 -0)

📄 Description

A much needed option to allow consuming applications to have complete control over the endpoint paths. This is very useful in cases where specific api structures need to be followed while still being able to leverage better-auth.


🔄 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/2193 **Author:** [@CrutchTheClutch](https://github.com/CrutchTheClutch) **Created:** 4/9/2025 **Status:** ✅ Merged **Merged:** 5/28/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (4) - [`33ffe27`](https://github.com/better-auth/better-auth/commit/33ffe2700d2d31938a7a658ccafdf77e00fa7599) feat(customPaths): Provides an option to modify api paths - [`0b80a37`](https://github.com/better-auth/better-auth/commit/0b80a3703c98319b46025dc4b35c3ce45315aadd) Update to-auth-endpoints.test.ts - [`9aa8bfc`](https://github.com/better-auth/better-auth/commit/9aa8bfc0edb9e32733e7b6867fe488a92cd21719) add docs - [`3a3592b`](https://github.com/better-auth/better-auth/commit/3a3592b53897483d156a0654fb2addbfee7fe33c) typo ### 📊 Changes **4 files changed** (+51 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/reference/options.mdx` (+13 -0) 📝 `packages/better-auth/src/api/index.ts` (+16 -0) 📝 `packages/better-auth/src/api/to-auth-endpoints.test.ts` (+16 -1) 📝 `packages/better-auth/src/types/options.ts` (+6 -0) </details> ### 📄 Description A much needed option to allow consuming applications to have complete control over the endpoint paths. This is very useful in cases where specific api structures need to be followed while still being able to leverage better-auth. --- <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:22:54 -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#12438