Skip to content

fix(slack): return to the integrations settings page after adding a workspace - #6887

Merged
idoshamun merged 2 commits into
mainfrom
fix-slack-add-workspace-redirect
Oct 13, 2026
Merged

idoshamun merged 2 commits into
mainfrom
fix-slack-add-workspace-redirect

Conversation

@idoshamun

@idoshamun idoshamun commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Changes

"Add workspace" from Settings > Integrations ended on a 404. The page passed /account/integrations as the Slack OAuth return path; next.config redirects /account/:path* to /settings/:path*, which gives /settings/integrations, a route that doesn't exist. The page lives at /settings/customization/integrations since the settings revamp.

  • The settings page now passes its own router.pathname, which can't go stale on a future move and is always a plain path (the only form the API accepts).
  • next.config.ts: /account/integrations redirects to /settings/customization/integrations, before the generic /account/:path* rule, for old links and OAuth flows in flight at deploy time.
  • NewSquadModal passed ${webappUrl}squads/new?fs=true, which is an absolute URL on the extension. The API rejects it and falls back to /, so extension users landed on the home page instead of squad creation. It now passes /squads/new?fs=true.

Events

No new tracking events.

Experiment

No new experiments.

Preview domain

https://fix-slack-add-workspace-redirect.preview.app.daily.dev

…orkspace

The settings page passed /account/integrations as the Slack OAuth return
path. Since settings moved, next.config redirects /account/:path* to
/settings/:path*, which lands on /settings/integrations, a route that
does not exist (the page lives at /settings/customization/integrations),
so connecting a workspace from settings ended on a 404.

Pass the page's own pathname instead, and redirect /account/integrations
to the real page for old links and OAuth flows in flight at deploy time.

The new squad modal passed ${webappUrl}squads/new, which is an absolute
URL on the extension. The API only accepts plain paths and fell back to
/, so extension users landed on the home page instead of squad creation.
It now passes the plain path.
@vercel

vercel Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
daily-webapp Ready Ready Preview Oct 13, 2026 1:29pm UTC

Request Review

@idoshamun
idoshamun merged commit 70ca27b into main Oct 13, 2026
11 checks passed
@idoshamun
idoshamun deleted the fix-slack-add-workspace-redirect branch October 13, 2026 13:32

This branch was successfully deployed

1 active deployment
Preview — 8cb4d8b0 Deployed Oct 13, 2026 by vercel[bot]
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.

1 participant