[PR #2925] [CLOSED] feat: add _target in redirect fetch plugin options #30159

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2925
Author: @Kinfe123
Created: 6/5/2025
Status: Closed

Base: mainHead: fix/redirect-fetch-plugin-options


📝 Commits (5)

📊 Changes

4 files changed (+28 additions, -4 deletions)

View changed files

📝 packages/better-auth/src/api/routes/account.ts (+9 -0)
📝 packages/better-auth/src/client/fetch-plugins.ts (+6 -4)
📝 packages/better-auth/src/plugins/generic-oauth/index.ts (+12 -0)
📝 packages/better-auth/src/plugins/oidc-provider/authorize.ts (+1 -0)

📄 Description

closes #2905


🔄 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/2925 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 6/5/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/redirect-fetch-plugin-options` --- ### 📝 Commits (5) - [`9fe3026`](https://github.com/better-auth/better-auth/commit/9fe3026dbe914046058f234cd634755762387299) feat: add target option here in fetch plugin - [`db1c2b0`](https://github.com/better-auth/better-auth/commit/db1c2b088299f6e39ca1e6fa5ebe48b1c4c2d44a) lint - [`f85db4f`](https://github.com/better-auth/better-auth/commit/f85db4f57290d9405b43a67179b568762ab181ea) fix: adding to the body - [`802bc0c`](https://github.com/better-auth/better-auth/commit/802bc0ce1c4670f310f29d0c3e85c9f447edd75d) optional chaining - [`bc1567a`](https://github.com/better-auth/better-auth/commit/bc1567ac4b37455ed38f60ac714cd66d17c90b59) optional chaining ### 📊 Changes **4 files changed** (+28 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/account.ts` (+9 -0) 📝 `packages/better-auth/src/client/fetch-plugins.ts` (+6 -4) 📝 `packages/better-auth/src/plugins/generic-oauth/index.ts` (+12 -0) 📝 `packages/better-auth/src/plugins/oidc-provider/authorize.ts` (+1 -0) </details> ### 📄 Description closes #2905 --- <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:20:24 -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#30159