[GH-ISSUE #2500] setSessionCookie is no longer exported #9229

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

Originally created by @hussein-raji-mappa on GitHub (May 1, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/2500

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

Attempt to import setSessionCookie

Current vs. Expected behavior

Says module doesn't have the exported member 'setSessionCookie' and it shouldn't

What version of Better Auth are you using?

1.2.7

Provide environment information

- OS: Windows
- Browser: Chrome

Which area(s) are affected? (Select all that apply)

Package

Auth config (if applicable)

import { BetterAuthClientPlugin, setSessionCookie } from "better-auth";

Additional context

No response

Originally created by @hussein-raji-mappa on GitHub (May 1, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/2500 ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce Attempt to import setSessionCookie ### Current vs. Expected behavior Says module doesn't have the exported member 'setSessionCookie' and it shouldn't ### What version of Better Auth are you using? 1.2.7 ### Provide environment information ```bash - OS: Windows - Browser: Chrome ``` ### Which area(s) are affected? (Select all that apply) Package ### Auth config (if applicable) ```typescript import { BetterAuthClientPlugin, setSessionCookie } from "better-auth"; ``` ### Additional context _No response_
GiteaMirror added the locked label 2026-04-13 04:38:45 -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#9229