Skip to content

Commit

Permalink
Activate user endpoint does not return auth token, create-device does
Browse files Browse the repository at this point in the history
  • Loading branch information
j-chmielewski committed Sep 5, 2024
1 parent d9c2c61 commit af18eaf
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions core/proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ message ActivateUserRequest {
optional string token = 3;
}

message ActivateUserResponse {
// auth token used for post-enrollment client-core communication
string token = 1;
}

message NewDevice {
string name = 1;
string pubkey = 2;
Expand Down Expand Up @@ -85,6 +80,8 @@ message DeviceConfigResponse {
Device device = 1;
repeated DeviceConfig configs = 2;
InstanceInfo instance = 3;
// auth token used for further client-core communication
optional string token = 4;
}

message InstanceInfoRequest {
Expand All @@ -94,7 +91,6 @@ message InstanceInfoRequest {

message InstanceInfoResponse {
DeviceConfigResponse device_config = 1;
bool is_enterprise = 2;
}

message ExistingDevice {
Expand Down Expand Up @@ -175,8 +171,7 @@ message CoreResponse {
ClientMfaStartResponse client_mfa_start = 6;
ClientMfaFinishResponse client_mfa_finish = 7;
CoreError core_error = 8;
ActivateUserResponse activate_user_response = 9;
InstanceInfoResponse instance_info = 10;
InstanceInfoResponse instance_info = 9;
}
}

Expand Down

0 comments on commit af18eaf

Please sign in to comment.