[PR #2613] [MERGED] fix(docs): add note regarding cookie caching and RSC #4400

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2613
Author: @kylekz
Created: 5/11/2025
Status: Merged
Merged: 5/12/2025
Merged by: @Kinfe123

Base: mainHead: fix/next-rsc-cookie-note


📝 Commits (1)

  • 8bd18a5 fix(docs): add note regarding cookie caching and RSC

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 docs/content/docs/integrations/next.mdx (+2 -0)

📄 Description

spent an embarrassingly long time working to fix this problem until i remembered that RSCs cannot set cookies. should probably be noted in the docs which would then prevent issues like #2434

noticed there's pr #2451 but that's an actual integration change instead of a docs note.


🔄 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/2613 **Author:** [@kylekz](https://github.com/kylekz) **Created:** 5/11/2025 **Status:** ✅ Merged **Merged:** 5/12/2025 **Merged by:** [@Kinfe123](https://github.com/Kinfe123) **Base:** `main` ← **Head:** `fix/next-rsc-cookie-note` --- ### 📝 Commits (1) - [`8bd18a5`](https://github.com/better-auth/better-auth/commit/8bd18a5dc8686c83ae239f457bc55c344602a052) fix(docs): add note regarding cookie caching and RSC ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/next.mdx` (+2 -0) </details> ### 📄 Description spent an embarrassingly long time working to fix this problem until i remembered that RSCs cannot set cookies. should probably be noted in the docs which would then prevent issues like #2434 noticed there's pr #2451 but that's an actual integration change instead of a docs note. --- <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:44:28 -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#4400