Add hello version "2.0" that authenticates connections using a JWT.

This commit is contained in:
Joachim Bauch
2022-08-03 16:33:45 +02:00
parent 88e4c5f2c3
commit 156bc360ff
11 changed files with 693 additions and 64 deletions
+1 -1
View File
@@ -589,7 +589,7 @@ func (s *ProxyServer) processMessage(client *ProxyClient, data []byte) {
Id: message.Id,
Type: "hello",
Hello: &signaling.HelloProxyServerMessage{
Version: signaling.HelloVersion,
Version: signaling.HelloVersionV1,
SessionId: session.PublicId(),
Server: &signaling.WelcomeServerMessage{
Version: s.version,