[PR #9065] fix(generic-oauth): non-ASCII error_description causes TypeError on redirect #25312

Open
opened 2026-04-15 22:49:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/9065
Author: @ping-maxwell
Created: 4/9/2026
Status: 🔄 Open

Base: mainHead: fix/generic-oauth-failure-with-non-ascii-errors


📝 Commits (3)

  • 4a47939 fix(generic-oauth): non-ASCII error_description causes TypeError on redirect
  • b0cf2ab Merge branch 'main' into fix/generic-oauth-failure-with-non-ascii-errors
  • 9e296e6 chore: changeset

📊 Changes

2 files changed (+8 additions, -5 deletions)

View changed files

. changeset/pr-9065.md (+5 -0)
📝 packages/better-auth/src/plugins/generic-oauth/routes.ts (+3 -5)

📄 Description

closes https://github.com/better-auth/better-auth/issues/8954


🔄 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/9065 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 4/9/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/generic-oauth-failure-with-non-ascii-errors` --- ### 📝 Commits (3) - [`4a47939`](https://github.com/better-auth/better-auth/commit/4a479398ae8d03353be79090f72c484d490528e7) fix(generic-oauth): non-ASCII error_description causes TypeError on redirect - [`b0cf2ab`](https://github.com/better-auth/better-auth/commit/b0cf2abf60812953b2b8a94eacb3cf0cf8642c73) Merge branch 'main' into fix/generic-oauth-failure-with-non-ascii-errors - [`9e296e6`](https://github.com/better-auth/better-auth/commit/9e296e636ba9e8c6facfc4c65596806bf4cc8e10) chore: changeset ### 📊 Changes **2 files changed** (+8 additions, -5 deletions) <details> <summary>View changed files</summary> ➕ `. changeset/pr-9065.md` (+5 -0) 📝 `packages/better-auth/src/plugins/generic-oauth/routes.ts` (+3 -5) </details> ### 📄 Description closes https://github.com/better-auth/better-auth/issues/8954 --- <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 22:49:37 -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#25312