Skip to content

Pulling recent changes from main#134

Merged
tahaminachy43 merged 2 commits intoMobile-Stylingfrom
main
May 2, 2026
Merged

Pulling recent changes from main#134
tahaminachy43 merged 2 commits intoMobile-Stylingfrom
main

Conversation

@tahaminachy43
Copy link
Copy Markdown
Collaborator

No description provided.

rxmox added 2 commits May 1, 2026 23:18
The shared loginWithLinkedIn helper hardcoded ?platform=mobile and used
WebBrowser.openAuthSessionAsync with a custom-scheme redirect, which
broke the Expo web export at https://shatter-mobile.vercel.app/. After
LinkedIn auth completed, the backend redirected the browser to
shattermobile://auth/auth/callback?code=..., a custom scheme browsers
cannot follow.

Branch on Platform.OS: on web, navigate the current tab directly to the
backend's /api/auth/linkedin (no platform param). The backend defaults
to the web flow and redirects to ${FRONTEND_URL}/auth/callback?code=...,
which the existing app/auth/callback.tsx route handles. The mobile path
is unchanged.
@tahaminachy43 tahaminachy43 merged commit 431b2ee into Mobile-Styling May 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants