Pass endpoint to the client (#811)
This allows us to automatically set TLS parameters, useful for `boundary connect http` and some other features to come.
This commit is contained in:
1 parent
71ed04db9b
commit
d4a6efb363
9 files changed
+101
-46
No files matched your search
@@ -416,6 +416,7 @@ HostSetIterationLoop:
|
||||
Certificate: sess.Certificate,
|
||||
PrivateKey: privKey,
|
||||
HostId: chosenId.hostId,
|
||||
Endpoint: endpointUrl.String(),
|
||||
WorkerInfo: workers,
|
||||
ConnectionLimit: t.GetSessionConnectionLimit(),
|
||||
}
|
||||
@@ -435,6 +436,7 @@ HostSetIterationLoop:
|
||||
UserId: authResults.UserId,
|
||||
HostId: chosenId.hostId,
|
||||
HostSetId: chosenId.hostSetId,
|
||||
Endpoint: endpointUrl.String(),
|
||||
}
|
||||
return &pbs.AuthorizeSessionResponse{Item: ret}, nil
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user