Commit 5125f01
committed
feat: Add Convex authentication flow with browser OAuth and credential detection
New Authentication Module:
- Add src/cli/auth/convex-auth.ts with browser-based OAuth flow
- Detect existing credentials from env vars, .env files, convex.json
- Localhost callback server (auto-finds available port)
- Styled HTML forms for credential input with Convex branding
- Manual credential entry fallback
- Test credentials with Convex API before returning
Credential Detection:
- Check CONVEX_URL/CONVEX_DEPLOYMENT an1 parent c9811b3 commit 5125f01
12 files changed
Lines changed: 1833 additions & 384 deletions
File tree
- .claude
- src
- cli
- auth
- errors
- interactive
- tui
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
59 | 61 | | |
60 | 62 | | |
61 | 63 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
0 commit comments