use email as account id
This commit is contained in:
parent
5a36f4ae32
commit
5e92eadfc2
3 changed files with 7 additions and 5 deletions
4
binary/package-lock.json
generated
4
binary/package-lock.json
generated
|
|
@ -48,11 +48,11 @@
|
|||
"@aws-sdk/client-sagemaker-runtime": "^3.621.0",
|
||||
"@aws-sdk/credential-providers": "^3.620.1",
|
||||
"@continuedev/config-types": "^1.0.13",
|
||||
"@continuedev/config-yaml": "^1.0.24",
|
||||
"@continuedev/config-yaml": "^1.0.26",
|
||||
"@continuedev/fetch": "^1.0.4",
|
||||
"@continuedev/llm-info": "^1.0.2",
|
||||
"@continuedev/openai-adapters": "^1.0.10",
|
||||
"@modelcontextprotocol/sdk": "^1.0.0",
|
||||
"@modelcontextprotocol/sdk": "^1.4.1",
|
||||
"@mozilla/readability": "^0.5.0",
|
||||
"@octokit/rest": "^20.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
||||
|
|
|
|||
|
|
@ -88,10 +88,12 @@ class ContinueAuthService {
|
|||
val lastName = user?.get("lastName") as? String
|
||||
val label = "$firstName $lastName"
|
||||
val id = user?.get("id") as? String
|
||||
val email = user?.get("email") as? String
|
||||
|
||||
// Persist the session info
|
||||
setRefreshToken(refreshToken!!)
|
||||
val sessionInfo = ControlPlaneSessionInfo(accessToken!!, ControlPlaneSessionInfo.Account(id!!, label))
|
||||
val sessionInfo =
|
||||
ControlPlaneSessionInfo(accessToken!!, ControlPlaneSessionInfo.Account(email!!, label))
|
||||
setControlPlaneSessionInfo(sessionInfo)
|
||||
|
||||
// Notify listeners
|
||||
|
|
|
|||
4
extensions/vscode/package-lock.json
generated
4
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "0.9.261",
|
||||
"version": "0.9.262",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "0.9.261",
|
||||
"version": "0.9.262",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@continuedev/fetch": "^1.0.3",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue