transloadit / transloadit/node-sdk
Fancy oauth login
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 73
- Forks
- 26
- Avg merge
- 10h 51m
- Merged PRs (30d)
- 18
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.
Example: 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).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the existing CLI entry point and API authentication code, then break the TODO into device login, credential storage, npm create scaffolding, E2E coverage, and the CI fallback. Done means the API flow and each listed CLI/onboarding path are implemented and the login/scaffold flow is continuously verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- api, authentication, cli, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100