diff --git a/cmd/authmate/main.go b/cmd/authmate/main.go index 5af2b1f..c501cfd 100644 --- a/cmd/authmate/main.go +++ b/cmd/authmate/main.go @@ -5,6 +5,7 @@ import ( "crypto/ecdsa" "encoding/json" "fmt" + "math" "os" "os/signal" "strings" @@ -406,9 +407,10 @@ func createSDKClient(ctx context.Context, log *zap.Logger, key *ecdsa.PrivateKey pb.AddNode(peerAddress, 1) opts := &pool.BuilderOptions{ - Key: key, - NodeConnectionTimeout: poolConnectTimeout, - NodeRequestTimeout: poolRequestTimeout, + Key: key, + NodeConnectionTimeout: poolConnectTimeout, + NodeRequestTimeout: poolRequestTimeout, + SessionExpirationEpoch: math.MaxUint32, } return pb.Build(ctx, opts) }