Secure website sessions
NextAuth uses JWT sessions with the configured secret and account middleware protects `/account/*` routes.
Security
UGP keeps public pages, account sessions, linked devices, API keys, payments, and local code work separated by clear permissions.
NextAuth uses JWT sessions with the configured secret and account middleware protects `/account/*` routes.
Google sign-in is hidden or marked unconfigured unless a usable client id and secret are present.
Email login and registration call the configured authentication server. The website does not invent local-only users.
Desktop device routes remain separate from public site routing and are used for scoped linked-device sessions.
Keys are scoped, rate limited, rotated or revoked through account actions, and secrets are revealed once.
Payment portal, invoices, spend exports, history deletion, and team changes are account actions with real server state.
Marketing, docs, pricing, download, legal, and status pages should stay readable without an account and must not expose private account state.
Projects, history, devices, API keys, teams, billing, usage, and settings require a signed-in session and should redirect guests to login.
Local repositories and terminal work belong to the Windows app. The website should not request broad local file access or pretend it can inspect files in the browser.
Key rotation, device revocation, member changes, billing portal access, and destructive history actions should remain explicit account actions.