mirror of
https://github.com/better-auth/better-auth.git
synced 2026-10-19 11:24:57 -05:00
With deferSessionRefresh, the client's refresh request was a bodyless POST. Node/Next.js/Nuxt turn that into a non-null empty stream with no content-type header, and the endpoint's application/json media-type check rejected it with 415 before the handler ever ran, so the session never refreshed. Send a JSON body from the client, and drop body parsing on /get-session server-side since the handler never reads it.
Changesets
Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it in our repository.
We have a quick list of common questions to get you started engaging with this project in our documentation.