mirror of
https://github.com/luxfi/mpc.git
synced 2026-09-24 00:26:24 +00:00
Three files here restated the same OIDC wiring that lux/market restated too, and that lux/explore restated a fourth, PKCE-less way. `@luxfi/ui/[email protected]` is that flow, once — `AuthProvider` (identity read + PKCE login, bound to the host) and `AuthCallback` (state check, verifier, code→token). What is left here is the only part that is MPC's: the middleware session flag, and the MPC API's own JWT minted from the IAM token. That exchange stays DOWNSTREAM — the user is signed in whether or not the MPC API answers. Behaviour is unchanged: same `/auth/callback` path, same `lux-mpc` client resolved from the host, same landing on /dashboard. `tsc --noEmit` reports only the pre-existing `globals.css` side-effect-import error. Co-authored-by: Hanzo Dev <[email protected]>