[PR #2237] [CLOSED] docs: update getSessionCookie description #4220

Closed
opened 2026-03-13 11:38:17 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2237
Author: @s3f5
Created: 4/12/2025
Status: Closed

Base: mainHead: docs(getSessionCookie)


📝 Commits (2)

  • 38e1f6a chore: cleanup
  • 70b9267 docs: update getSessionCookie description

📊 Changes

2 files changed (+22 additions, -9 deletions)

View changed files

📝 docs/content/docs/integrations/next.mdx (+22 -5)
📝 packages/better-auth/src/cookies/index.ts (+0 -4)

📄 Description

Adds an options table to the getSessionCookie docs. To point it more out that the config object is optional and only needed when auth config cookies are customized https://github.com/better-auth/better-auth/issues/2233

Also removed unused stuff inside getSessionCookie fn


🔄 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/2237 **Author:** [@s3f5](https://github.com/s3f5) **Created:** 4/12/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs(getSessionCookie)` --- ### 📝 Commits (2) - [`38e1f6a`](https://github.com/better-auth/better-auth/commit/38e1f6ad4e0e508fbd93ada8a9f638bd1c823574) chore: cleanup - [`70b9267`](https://github.com/better-auth/better-auth/commit/70b9267121e1a069192194c3d6a579cb5d34353a) docs: update getSessionCookie description ### 📊 Changes **2 files changed** (+22 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/next.mdx` (+22 -5) 📝 `packages/better-auth/src/cookies/index.ts` (+0 -4) </details> ### 📄 Description Adds an options table to the getSessionCookie docs. To point it more out that the config object is optional and only needed when auth config cookies are customized https://github.com/better-auth/better-auth/issues/2233 Also removed unused stuff inside getSessionCookie fn --- <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-03-13 11:38:17 -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#4220