Skip to content

Fancy oauth login #270

@kvz

Description

@kvz

This would probably require work on the api side too, but it would be great if, on the CLI that ships with this npm now, you could do something like transloadit auth login, and a browser opens, a code is entered, CLI specific auth keys are created/downloaded to .env.

Exit: Convex has:

Image

npm create convex@latest

Potentially we can have something similar.


TODO (auth + onboarding)

  • Define API device-login flow: browser opens, user logs in, enters code, CLI receives scoped keys.
  • Implement transloadit auth login (device code flow) and save keys to .env and ~/.transloadit.
  • Ship npm create transloadit scaffold that:
    1) opens browser login,
    2) waits for code entry,
    3) writes .env,
    4) validates a demo Assembly.
  • Add CLI E2E harness (Playwright or similar) to continuously verify the login/scaffold flow.
  • Add a “no browser” fallback for CI (token paste or TRANSLOADIT_KEY/SECRET env).

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