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

Closed
opened 2026-04-13 09:28:13 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/better-auth/better-auth/pull/5725

State: closed
Merged: Yes


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.

**Original Pull Request:** https://github.com/better-auth/better-auth/pull/5725 **State:** closed **Merged:** Yes --- 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. -->
GiteaMirror added the pull-request label 2026-04-13 09:28:13 -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#14428