[PR #5725] [MERGED] feat(stripe): allow any scheme #31782

Closed
opened 2026-04-17 22:39:43 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5725
Author: @hyoban
Created: 11/2/2025
Status: Merged
Merged: 11/3/2025
Merged by: @himself65

Base: canaryHead: 11-02-allow-any-schema


📝 Commits (2)

  • ba30788 feat(stripe): allow any scheme
  • 4551df4 Apply suggestion from @Copilot

📊 Changes

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

View changed files

📝 packages/stripe/src/index.ts (+1 -1)

📄 Description

This allows user to return from the stripe to the Electron app.


Summary by cubic

Support custom URL schemes in Stripe redirects so users can return to the Electron app after checkout. getUrl now treats any scheme (e.g., myapp://) as absolute and no longer prefixes baseURL when a scheme is present.

Written for commit 4551df4ff0. Summary will update automatically on new commits.


🔄 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/5725 **Author:** [@hyoban](https://github.com/hyoban) **Created:** 11/2/2025 **Status:** ✅ Merged **Merged:** 11/3/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `11-02-allow-any-schema` --- ### 📝 Commits (2) - [`ba30788`](https://github.com/better-auth/better-auth/commit/ba30788f9658ebf0673c884f72170d8760a9c3ff) feat(stripe): allow any scheme - [`4551df4`](https://github.com/better-auth/better-auth/commit/4551df4ff0a000fbc68ace4dbcfabb681bd3ebd6) Apply suggestion from @Copilot ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/stripe/src/index.ts` (+1 -1) </details> ### 📄 Description This allows user to return from the stripe to the Electron app. <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Support custom URL schemes in Stripe redirects so users can return to the Electron app after checkout. getUrl now treats any scheme (e.g., myapp://) as absolute and no longer prefixes baseURL when a scheme is present. <sup>Written for commit 4551df4ff0a000fbc68ace4dbcfabb681bd3ebd6. Summary will update automatically on new commits.</sup> <!-- 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-17 22:39:43 -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#31782