fix(gateway/auth): Implement proper auth/init flow with automatic background userId generation

- Fix getUserId() to use placeholder that triggers auth/init if the auth/init endpoint is down for whatever reason
- Add silent auth/init attempt in AI services
- Improve hosted mode error handling
- Remove fake userId/email generation from init.js
This commit is contained in:
Eyal Toledano
2025-05-31 19:47:18 -04:00
parent 769275b3bc
commit 9b87dd23de
11 changed files with 4699 additions and 4558 deletions

View File

@@ -29,9 +29,9 @@
"azureBaseURL": "https://your-endpoint.azure.com/"
},
"account": {
"userId": "277779c9-1ee2-4ef8-aa3a-2176745b71a9",
"userEmail": "user_1748640077834@taskmaster.dev",
"mode": "hosted",
"userId": "1234567890",
"userEmail": "",
"mode": "byok",
"telemetryEnabled": true
}
}