feat(ui): invitation flow smart routing (#10589)

Co-authored-by: Pablo Fernandez Guerra (PFE) <148432447+pfe-nazaries@users.noreply.github.com>
Co-authored-by: Pablo F.G <pablo.fernandez@prowler.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Davidm4r
2026-04-09 10:11:52 +02:00
committed by GitHub
parent b9270df3e6
commit baf1194824
14 changed files with 360 additions and 22 deletions

View File

@@ -0,0 +1,10 @@
/**
* Query param name + value used to bypass the backward-compat redirect
* in proxy.ts when the user explicitly chose "Create an account"
* from the invitation smart router.
*
* Client sends: /sign-up?invitation_token=…&action=signup
* Proxy skips redirect when "action" param is present.
*/
export const INVITATION_ACTION_PARAM = "action";
export const INVITATION_SIGNUP_ACTION = "signup";