Files
PaperClipAI/ui/src
DottaandPaperclip f2f03ce15e Preserve company prefix in cloud upstream redirect URI
The cloud upstream connect flow built `redirectUri` and the post-finish
`replaceState` from the root path `/company/settings/cloud-upstream`,
dropping the company prefix (e.g. `/PAP/...`). On the 302 return from the
cloud, the React router had no company in context and bounced the user
to `/<defaultCompany>/dashboard`, dropping the `code`/`state` query
params and leaving the connection stuck at `token_status='pending'`.

Use `applyCompanyPrefix` against the selected company's issue prefix so
both the redirect URI and the URL cleanup land back on the same
company-scoped settings route.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-19 13:54:54 -05:00
..
2026-05-19 13:54:54 -05:00
2026-05-06 06:30:44 -05:00