Better Auth + Convex

Sign in to Quanto

Access is centered on Discord, with optional Roblox linking after sign-in.

The dashboard, organization state, and linked account status are all read from Convex in the authenticated app shell.

Identity policy

The sign-in surface stays intentionally narrow so the account model remains easy to reason about.

Primary identity

Discord is mandatory for every Quanto session

Optional game link

Roblox can be attached later from account settings

Workspace model

One user can belong to multiple organizations

What ships in this auth layer

Official Convex integration, live organization switching, protected routes, and linked account controls.

Convex-backed session flow

The app uses the Better Auth Convex plugin and the Next.js proxy route instead of a custom token bridge.

Organization-aware workspace

Users can create organizations immediately and switch the active one without reauthenticating.

Discord-first access

Roblox is not a valid direct login path, even if the provider exists in the auth config.

Linked provider controls

Roblox linking and unlinking stay available from the protected settings view.