Skip to content

Implement GitHub-first identity for the TypeScript Hub #116

Backlog

Description

Copilot

The TypeScript Hub on build/hub/new needs to let people sign in with GitHub while preserving the current separation between a person, the Hub process, and the installed GitHub App. This implements the first slice Ben approved in the identity discussion, informed by github/replica-internal#48.

The first version uses a common credential-provider interface with encrypted database storage for simple setup and a read-only environment provider. It needs restricted bootstrap, discarded user tokens, stable GitHub identity, revocable Hub sessions, credential-scoped fresh verification, current repository authorization, durable security records, and explicit failure and rotation behavior. Hub administrators must not bypass repository access.

OIDC, Key Vault, cross-provider account linking, enterprise deprovisioning guarantees, and enterprise audit retention or tamper-protection extensions are follow-ups. Canvas and product APIs will consume the new identity boundary when those features are rebuilt.

Created from a Slack conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions