You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Studio sign-in and recovery: OIDC popup, public status, and banners #1845
Signing in or recovering a session no longer discards the open workspace, and users can distinguish a daemon outage from a sign-in problem.
Scope
Open OIDC login synchronously from a user action in a popup; complete it through a same-origin callback page that posts a constrained result to its opener and closes. Keep the current callback URL, sealed cookies, CSRF, origin checks, and account separation.
Expose only minimal connection/auth-recovery facts to anonymous browsers. Keep the detailed /api/v1/runtime response, deployment data, and capabilities authenticated. Use the public projection for offline and auth-recovery banners, with storage-health information shown only after authentication.
Show the email claim when available, retain the existing opaque account key, and never send the raw OIDC subject to the browser. Handle popup blocking, manual closure, expired sessions, and retries.
Acceptance
A successful sign-in preserves the current route and in-page draft; popup messages are accepted only from the same origin, and a failed/blocked popup leaves a recoverable path.
Anonymous status distinguishes BFF reachable, daemon unavailable, and sign-in required without exposing private runtime details; authenticated feature routes still reject anonymous requests.
Architectural candidate because the public status and auth flow alter a trust boundary. Classify and record the decision before implementation.
Parallel work: the minimal public-status contract, BFF auth/callback changes, and popup state can be planned and built alongside #1843 and #1844. Final banner placement and styling integrate with #1844's shell and #1843's tokens. Coordinate runtime-schema edits with #1846.
Activity