more fixin

This commit is contained in:
Grant Limberg 2021-11-30 17:27:13 -08:00
parent d15516f0ef
commit a33d7c64fe
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
3 changed files with 41 additions and 26 deletions

View file

@ -253,7 +253,7 @@ public:
memcpy(&_config, nwc, sizeof(ZT_VirtualNetworkConfig));
fprintf(stderr, "ssoEnabled: %s, ssoVersion: %d\n",
_config.ssoEnabled ? "true" : "false", _config.ssoVersion);
if (_config.ssoEnabled && _config.ssoVersion == 1) {
fprintf(stderr, "ssoEnabled for %s\n", nwid);
if (_idc == nullptr)
@ -261,6 +261,11 @@ public:
assert(_config.issuerURL != nullptr);
assert(_config.ssoClientID != nullptr);
assert(_config.centralAuthURL != nullptr);
fprintf(stderr, "Issuer URL: %s\n", _config.issuerURL);
fprintf(stderr, "Client ID: %s\n", _config.ssoClientID);
fprintf(stderr, "Central Auth URL: %s\n", _config.centralAuthURL);
char buf[17] = {};
_idc = zeroidc::zeroidc_new(
Utils::hex(_config.nwid, buf),