[PR #8181] [MERGED] fix(cookies): export getAccountCookie from better-auth/cookies #24700

Closed
opened 2026-04-15 22:31:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/8181
Author: @bytaesu
Created: 2/27/2026
Status: Merged
Merged: 2/27/2026
Merged by: @himself65

Base: canaryHead: 2026-02-27/fix/export-account-cookie


📝 Commits (3)

  • d4e1b2f fix(cookies): export getAccountCookie from better-auth/cookies
  • fc8d36e docs: update content related to getAccountCookie
  • 7541507 Merge branch 'canary' into 2026-02-27/fix/export-account-cookie

📊 Changes

2 files changed (+16 additions, -1 deletions)

View changed files

📝 docs/content/docs/reference/options.mdx (+11 -0)
📝 packages/better-auth/src/cookies/index.ts (+5 -1)

📄 Description

Since helpers like getSessionCookie are already being exported, it seems appropriate to provide this as well.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/8181 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 2/27/2026 **Status:** ✅ Merged **Merged:** 2/27/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2026-02-27/fix/export-account-cookie` --- ### 📝 Commits (3) - [`d4e1b2f`](https://github.com/better-auth/better-auth/commit/d4e1b2faa8792913ae0762ede36d52d284204cb7) fix(cookies): export getAccountCookie from better-auth/cookies - [`fc8d36e`](https://github.com/better-auth/better-auth/commit/fc8d36e23b1b3c9a5f0d10e7141653dde714d7ce) docs: update content related to getAccountCookie - [`7541507`](https://github.com/better-auth/better-auth/commit/75415076da47b921d0f5dd65fb35bb3575e26d67) Merge branch 'canary' into 2026-02-27/fix/export-account-cookie ### 📊 Changes **2 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/reference/options.mdx` (+11 -0) 📝 `packages/better-auth/src/cookies/index.ts` (+5 -1) </details> ### 📄 Description Since helpers like `getSessionCookie` are already being exported, it seems appropriate to provide this as well. - Closes #8165 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 22:31:15 -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#24700