[PR #5128] [CLOSED] fix(expo): remove local cache #14042

Closed
opened 2026-04-13 09:17:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5128
Author: @Bekacru
Created: 10/6/2025
Status: Closed

Base: canaryHead: fix/expo


📝 Commits (3)

  • 3364cf7 fix(expo): remove local cache
  • 1acafcb fix: remove leading colon
  • db499f2 Apply suggestion from @Copilot

📊 Changes

1 file changed (+6 additions, -9 deletions)

View changed files

📝 packages/expo/src/client.ts (+6 -9)

📄 Description

Avoid caching session data locally

closes #2493


Summary by cubic

Removes local session caching in the Expo client and fixes cookie header formatting. Prevents storing session data on device and avoids a leading separator in the Cookie header.

  • Bug Fixes
    • Remove local write for /get-session; drop disableCache option.
    • Build Cookie header without a leading separator so the first cookie is valid.

🔄 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/5128 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 10/6/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `fix/expo` --- ### 📝 Commits (3) - [`3364cf7`](https://github.com/better-auth/better-auth/commit/3364cf76fb555bc713110f9b9e150418157234c5) fix(expo): remove local cache - [`1acafcb`](https://github.com/better-auth/better-auth/commit/1acafcb5e8318b3ed02a778581a0f16934e1493d) fix: remove leading colon - [`db499f2`](https://github.com/better-auth/better-auth/commit/db499f2c209c4494b1a8ee8e17a62c94eb8d293b) Apply suggestion from @Copilot ### 📊 Changes **1 file changed** (+6 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `packages/expo/src/client.ts` (+6 -9) </details> ### 📄 Description Avoid caching session data locally closes #2493 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Removes local session caching in the Expo client and fixes cookie header formatting. Prevents storing session data on device and avoids a leading separator in the Cookie header. - **Bug Fixes** - Remove local write for /get-session; drop disableCache option. - Build Cookie header without a leading separator so the first cookie is valid. <!-- End of auto-generated description by cubic. --> --- <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-13 09:17:01 -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#14042