Documentation - Breaking changes w/ ExpressJS v5 regarding route mounting #1106

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

Originally created by @tklein1801 on GitHub (Apr 24, 2025).

With ExpressJS v5, breaking changes have been added regarding wildcards for routes.
It would therefore make sense to adapt the implementation guide or, if necessary, to add a disclaimer pointing out this problem.

Enclosed I have linked a StackOverflow article which explains the “error” or change and refers to a documentation of ExpressJS, as well as the location for the current implementation of Better Auth using ExpressJS.

Resources

Originally created by @tklein1801 on GitHub (Apr 24, 2025). With ExpressJS v5, breaking changes have been added regarding wildcards for routes. It would therefore make sense to adapt the implementation guide or, if necessary, to add a disclaimer pointing out this problem. Enclosed I have linked a [StackOverflow article](https://stackoverflow.com/a/79554232) which explains the “error” or change and refers to a documentation of ExpressJS, as well as the location for the [current implementation](https://www.better-auth.com/docs/installation#mount-handler) of Better Auth using ExpressJS. **Resources** - [StackOverflow Answer](https://stackoverflow.com/a/79554232) - [Better Auth Implementation Guide](https://www.better-auth.com/docs/installation#mount-handler)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#1106