Commit aff5d3c
Rafael Teodoro
Fix TUI: Service Account now accepts JSON file upload
Changed service account authentication to accept JSON file upload
instead of just email, matching OAuth credentials flow.
Changes:
- 🔑 Service Account now requires JSON file (not just email)
- 📂 Added 'Use Default SA Path' button (backend/service-account.json)
- 📄 Shows examples and current directory
- 🏠 Supports ~ expansion for home directory
- ❌ Better error messages with full path
Two authentication methods now available:
1. OAuth Credentials JSON (credentials.json)
- Contains client_id, client_secret
- For user-based OAuth flow
2. Service Account JSON (service-account.json)
- Contains private_key, client_email
- For service account authentication
Both methods now have:
- Default path buttons
- Path examples
- Full path error messages
- Home directory expansion1 parent 36d239d commit aff5d3c
1 file changed
+52
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
| 222 | + | |
222 | 223 | | |
223 | | - | |
224 | | - | |
| 224 | + | |
| 225 | + | |
225 | 226 | | |
226 | | - | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
227 | 230 | | |
228 | 231 | | |
229 | 232 | | |
| |||
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
276 | 324 | | |
277 | 325 | | |
278 | 326 | | |
| |||
0 commit comments