From 621898f3c5f65fc8589efb6af17c91cc4a23be2c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 25 May 2021 13:02:06 -0400 Subject: [PATCH] Forgot to set auth info in NetworkConfig. --- controller/EmbeddedNetworkController.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/controller/EmbeddedNetworkController.cpp b/controller/EmbeddedNetworkController.cpp index 750ced598..37f93ba07 100644 --- a/controller/EmbeddedNetworkController.cpp +++ b/controller/EmbeddedNetworkController.cpp @@ -1379,6 +1379,9 @@ void EmbeddedNetworkController::_request( // If we made it this far, they are authorized (and authenticated). // ------------------------------------------------------------------------- + nc->authenticationURL = authenticationURL; + nc->authenticationExpiryTime = authenticationExpiryTime; + int64_t credentialtmd = ZT_NETWORKCONFIG_DEFAULT_CREDENTIAL_TIME_MAX_MAX_DELTA; if (now > ns.mostRecentDeauthTime) { // If we recently de-authorized a member, shrink credential TTL/max delta to