[GH-ISSUE #2428] Documentation - Breaking changes w/ ExpressJS v5 regarding route mounting #9189

Closed
opened 2026-04-13 04:34:00 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @tklein1801 on GitHub (Apr 24, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2428

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). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2428 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)
GiteaMirror added the locked label 2026-04-13 04:34:00 -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#9189