LibreChat/client/src/components/SidePanel
Danny Avila 038903abc0
📱 fix: Open Sign-In and External Links From iOS Home-Screen Apps (#16077)
* 📱 fix: Open Sign-In and External Links From iOS Home-Screen Apps

Sign-in prompts, the MCP OAuth Continue buttons and the account menu links opened with window.open and a noopener,noreferrer features string. WebKit treats a features string as a popup-window request, which an iOS home-screen app cannot open, and the chat sign-in also awaited its CSRF bind before opening, outside the tap. Links now open through a target=_blank link with rel=noopener noreferrer, and the chat prompt binds when it appears so the tap opens the provider synchronously.

* fix: Keep sign-in closed until its CSRF bind lands, and surface builder OAuth in its dialog

A tap while the chat prompt's bind was still in flight could open the provider before its CSRF cookie existed, and an Action callback has no fallback without that cookie; the button now stays disabled until the bind lands. The MCP builder card opened the authorization URL only after its initialize request, which iOS home-screen apps refuse and which left the card with no way to continue; it now shows the MCP OAuth dialog instead.

* fix: Let the tapped prompt own the CSRF binding, and show only the card's live OAuth flow

Live sign-in prompts share one CSRF cookie per callback path, so the last prompt to bind owned it; a tap now re-binds its own prompt right after opening the provider. The builder card kept a local copy of the authorization URL that outlived its flow and could reopen it on a later initialization; it now shows the manager's shared flow URL, cleared when the flow ends, and only for a flow the card itself started.
2026-09-19 08:09:25 -04:00
..
Agents 📱 fix: Fit the Tool Library and Skills Pickers to Small Screens (#16067) 2026-09-18 17:29:39 +02:00
Bookmarks ♿ feat: High Contrast Light and Dark Appearance Modes (#15178) 2026-09-05 22:20:33 +02:00
Builder ♿ feat: High Contrast Light and Dark Appearance Modes (#15178) 2026-09-05 22:20:33 +02:00
Files 📖 fix: Preview Extracted Upload Text (#15946) 2026-09-14 20:58:04 -04:00
MCPBuilder 📱 fix: Open Sign-In and External Links From iOS Home-Screen Apps (#16077) 2026-09-19 08:09:25 -04:00
Memories ♿ feat: High Contrast Light and Dark Appearance Modes (#15178) 2026-09-05 22:20:33 +02:00
Parameters ♿ feat: High Contrast Light and Dark Appearance Modes (#15178) 2026-09-05 22:20:33 +02:00
Schedules 🔎 feat: Filter and Sort the Sidebar Chats List (#15842) 2026-09-12 15:56:10 -04:00
ArtifactsPanel.tsx 🛰️ feat: Show Child Agent Activity in a Side Panel (#15075) 2026-08-21 11:10:41 -04:00
data.tsx
index.ts
Nav.tsx
SidePanelGroup.tsx 🛰️ feat: Show Child Agent Activity in a Side Panel (#15075) 2026-08-21 11:10:41 -04:00