[PR #4076] [MERGED] fix: secondary storage should allow returning both string and parsed json #30772

Closed
opened 2026-04-17 21:48:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4076
Author: @Bekacru
Created: 8/19/2025
Status: Merged
Merged: 8/19/2025
Merged by: @Bekacru

Base: canaryHead: fix/secondary-storage


📝 Commits (10+)

  • dbaae0a docs: hero section alignment with feature section on big screens (#4018)
  • ef481d8 chore: fix broken testomnial link
  • 9c46196 fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization
  • 5fdf5cd chore: update sso docs
  • efa60af chore: fix import typo
  • 3fd8581 docs: hero section alignment with feature section on big screens (#4018)
  • 64216f1 chore: fix broken testomnial link
  • 28e331a fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization
  • efa0c0b chore: update sso docs
  • 95f9e9a chore: fix import typo

📊 Changes

16 files changed (+216 additions, -39 deletions)

View changed files

📝 docs/components/features.tsx (+4 -4)
📝 docs/components/landing/hero.tsx (+5 -5)
📝 docs/components/landing/testimonials.tsx (+4 -12)
📝 docs/content/docs/concepts/database.mdx (+2 -3)
📝 docs/content/docs/plugins/sso.mdx (+5 -0)
📝 packages/better-auth/package.json (+1 -1)
📝 packages/better-auth/src/api/rate-limiter/index.ts (+3 -2)
📝 packages/better-auth/src/db/internal-adapter.ts (+18 -5)
packages/better-auth/src/db/secondary-storage.test.ts (+122 -0)
📝 packages/better-auth/src/plugins/jwt/jwt.test.ts (+19 -0)
📝 packages/better-auth/src/types/adapter.ts (+2 -2)
📝 packages/better-auth/src/utils/json.ts (+8 -2)
📝 packages/cli/package.json (+1 -1)
📝 packages/expo/package.json (+1 -1)
📝 packages/sso/src/index.ts (+20 -0)
📝 packages/stripe/package.json (+1 -1)

📄 Description

No description provided


🔄 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/4076 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 8/19/2025 **Status:** ✅ Merged **Merged:** 8/19/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `fix/secondary-storage` --- ### 📝 Commits (10+) - [`dbaae0a`](https://github.com/better-auth/better-auth/commit/dbaae0ab2bc39de87dd4719e37f48e4b94ea2262) docs: hero section alignment with feature section on big screens (#4018) - [`ef481d8`](https://github.com/better-auth/better-auth/commit/ef481d8dcce32d377b412ad1a96ecb8e604c1787) chore: fix broken testomnial link - [`9c46196`](https://github.com/better-auth/better-auth/commit/9c4619626856bd4adbaa4564dd8c110921b1f498) fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization - [`5fdf5cd`](https://github.com/better-auth/better-auth/commit/5fdf5cd31a6099ee96e922470eca8adf92c5bc51) chore: update sso docs - [`efa60af`](https://github.com/better-auth/better-auth/commit/efa60af1c2d45a735ed397171bfca513b7e202ca) chore: fix import typo - [`3fd8581`](https://github.com/better-auth/better-auth/commit/3fd858163a393153386c4bb2795abfacd09f091e) docs: hero section alignment with feature section on big screens (#4018) - [`64216f1`](https://github.com/better-auth/better-auth/commit/64216f13250200169717f47225a17df08d2fee2a) chore: fix broken testomnial link - [`28e331a`](https://github.com/better-auth/better-auth/commit/28e331a114ad0cb4e5968c29685c2f7e24187fcc) fix(sso): [⚠︎Security] - membership check should be required before allowing users to create sso for an organization - [`efa0c0b`](https://github.com/better-auth/better-auth/commit/efa0c0ba1b4793d14a2f3f355a82e4086ed4338a) chore: update sso docs - [`95f9e9a`](https://github.com/better-auth/better-auth/commit/95f9e9a39a5b3ca5192dcd174025da1427f01458) chore: fix import typo ### 📊 Changes **16 files changed** (+216 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/features.tsx` (+4 -4) 📝 `docs/components/landing/hero.tsx` (+5 -5) 📝 `docs/components/landing/testimonials.tsx` (+4 -12) 📝 `docs/content/docs/concepts/database.mdx` (+2 -3) 📝 `docs/content/docs/plugins/sso.mdx` (+5 -0) 📝 `packages/better-auth/package.json` (+1 -1) 📝 `packages/better-auth/src/api/rate-limiter/index.ts` (+3 -2) 📝 `packages/better-auth/src/db/internal-adapter.ts` (+18 -5) ➕ `packages/better-auth/src/db/secondary-storage.test.ts` (+122 -0) 📝 `packages/better-auth/src/plugins/jwt/jwt.test.ts` (+19 -0) 📝 `packages/better-auth/src/types/adapter.ts` (+2 -2) 📝 `packages/better-auth/src/utils/json.ts` (+8 -2) 📝 `packages/cli/package.json` (+1 -1) 📝 `packages/expo/package.json` (+1 -1) 📝 `packages/sso/src/index.ts` (+20 -0) 📝 `packages/stripe/package.json` (+1 -1) </details> ### 📄 Description _No description provided_ --- <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-17 21:48:05 -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#30772