-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
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:
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.envand~/.transloadit. - Ship
npm create transloaditscaffold 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/SECRETenv).
Metadata
Metadata
Assignees
Labels
No labels