[PR #3032] [MERGED] fix: onSuccess callback hook #21519

Closed
opened 2026-04-15 20:25:04 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3032
Author: @Kinfe123
Created: 6/15/2025
Status: Merged
Merged: 7/19/2025
Merged by: @Bekacru

Base: mainHead: fix/onsuccess-callback-hook-override


📝 Commits (9)

📊 Changes

3 files changed (+19 additions, -10 deletions)

View changed files

📝 docs/components/builder/index.tsx (+0 -1)
📝 packages/better-auth/src/client/config.ts (+19 -8)
📝 packages/better-auth/src/client/proxy.ts (+0 -1)

📄 Description

close #1631


🔄 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/3032 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 6/15/2025 **Status:** ✅ Merged **Merged:** 7/19/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/onsuccess-callback-hook-override` --- ### 📝 Commits (9) - [`d64ce42`](https://github.com/better-auth/better-auth/commit/d64ce42ccde29c64e126f676d27088420dac8fad) fix: bearer override headers - [`44fbd93`](https://github.com/better-auth/better-auth/commit/44fbd93e776c465938397f24f4dfee15f569e077) fix: onSuccess called from global authClient - [`612c635`](https://github.com/better-auth/better-auth/commit/612c635f0fe4c7c0735fab245a35c541ff2e0df9) clean up - [`13b225d`](https://github.com/better-auth/better-auth/commit/13b225db0a4519d405a3e4116282ba09e1cf7f3e) maken the default global onSuccess a plugin instead - [`4124639`](https://github.com/better-auth/better-auth/commit/4124639dfca7817760c3949d20ccd96ff72dab2d) chore: revert disable default fetch plugins - [`5de8af7`](https://github.com/better-auth/better-auth/commit/5de8af7513045eb4c8dd4c72263dfaa300b80309) lint - [`8d3a142`](https://github.com/better-auth/better-auth/commit/8d3a142b516c03004b277eeabcebd6d7f634a2b9) remove onsuccess call - [`e15ea2a`](https://github.com/better-auth/better-auth/commit/e15ea2a9fb7fe73d797aa199f87b75d2a58fda08) revert to the hook plugin - [`6a6371c`](https://github.com/better-auth/better-auth/commit/6a6371caad09b6f77589daf661c7c738dd561311) lint ### 📊 Changes **3 files changed** (+19 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/index.tsx` (+0 -1) 📝 `packages/better-auth/src/client/config.ts` (+19 -8) 📝 `packages/better-auth/src/client/proxy.ts` (+0 -1) </details> ### 📄 Description close #1631 --- <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 20:25:04 -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#21519