-
-
Notifications
You must be signed in to change notification settings - Fork 590
Open
Description
What version of million
are you using?
3.1.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
pnpm
What operating system are you using?
Mac
What browser are you using?
Chrome
Describe the Bug
hey, i experienced weird issue with nextjs, better-auth and million/lint. when using better-auth in my nextjs app (which has MillionLint wrapper in config), the headers in the request been removed for some reason and social auth callback failed bc of that.
export default MillionLint .next({ rsc: true })(nextConfig);
removing this MillionLint.next wrapper - fixed it.
What's the expected result?
It should not remove headers.
Link to Minimal Reproducible Example
https://github.com/better-auth/better-auth/tree/main/demo/nextjs (we need to wrap next config with MillionLint)
Participation
- I am willing to submit a pull request for this issue.
ardasoyturkItaloMedici and pedro757
Metadata
Metadata
Assignees
Labels
No labels