[PR #7867] [MERGED] fix(expo): use default scheme for callbackURL and document native navigation #15847

Closed
opened 2026-04-13 10:15:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7867
Author: @bytaesu
Created: 2/8/2026
Status: Merged
Merged: 2/28/2026
Merged by: @Bekacru

Base: canaryHead: 2026-02-09/fix/expo-callback-url-scheme


📝 Commits (3)

  • 10db832 fix(expo): remove forced scheme from callbackURL deep link creation
  • d087b47 docs: add navigation guide for social sign-in on native
  • ede0344 Merge branch 'canary' into 2026-02-09/fix/expo-callback-url-scheme

📊 Changes

2 files changed (+17 additions, -12 deletions)

View changed files

📝 docs/content/docs/integrations/expo.mdx (+14 -3)
📝 packages/expo/src/client.ts (+3 -9)

📄 Description

Summary by cubic

Use the default scheme when creating deep links in the Expo client so relative callback URLs resolve correctly. Clarifies native social sign-in navigation and fixes redirects in Expo Go.

  • Bug Fixes
    • Stop passing a scheme to Linking.createURL for callbackURL, newUserCallbackURL, and errorCallbackURL.
    • Update docs: relative paths auto-convert to deep links; native flows require manual navigation after sign-in (e.g., router.replace("/dashboard")) with a note on platform browser differences.

Written for commit ede03444b2. Summary will update 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/7867 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 2/8/2026 **Status:** ✅ Merged **Merged:** 2/28/2026 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `canary` ← **Head:** `2026-02-09/fix/expo-callback-url-scheme` --- ### 📝 Commits (3) - [`10db832`](https://github.com/better-auth/better-auth/commit/10db83239c6a87c264dc0c35c70bb38266534716) fix(expo): remove forced scheme from callbackURL deep link creation - [`d087b47`](https://github.com/better-auth/better-auth/commit/d087b4768b06e9f73d5c5dcf56f14c9c666a8f2d) docs: add navigation guide for social sign-in on native - [`ede0344`](https://github.com/better-auth/better-auth/commit/ede03444b205b31093704455264a2b2f911620b2) Merge branch 'canary' into 2026-02-09/fix/expo-callback-url-scheme ### 📊 Changes **2 files changed** (+17 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/expo.mdx` (+14 -3) 📝 `packages/expo/src/client.ts` (+3 -9) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Use the default scheme when creating deep links in the Expo client so relative callback URLs resolve correctly. Clarifies native social sign-in navigation and fixes redirects in Expo Go. - **Bug Fixes** - Stop passing a scheme to Linking.createURL for callbackURL, newUserCallbackURL, and errorCallbackURL. - Update docs: relative paths auto-convert to deep links; native flows require manual navigation after sign-in (e.g., router.replace("/dashboard")) with a note on platform browser differences. <sup>Written for commit ede03444b205b31093704455264a2b2f911620b2. Summary will update 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-13 10:15:45 -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#15847