Skip to content

RFC-0001 · P1 · cli — auth: internal/api + internal/config + login / logout / auth status #83

Description

@LukasWodka

New internal/api (backend REST client + CLIENT_ENV→{dev,stg,prod} base URL + proxy/CA-aware HTTP — honor HTTPS_PROXY/NO_PROXY + system cert pool). New internal/config (~/.tracebloc, 0600, user token + active client). Commands under a new auth parent: tracebloc login (device flow: POST /device/code, print URL+code, poll /device/token, store token), logout, auth status.

Depends on the backend device-grant (the /device/* endpoints). Repo: tracebloc/cli. Part of tracebloc/backend#830.

Metadata

Metadata

Assignees

No one assigned

    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