From c2efdcabc5ab62b307cf758c032bf35db87b97db Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Fri, 28 May 2021 15:01:42 -0700 Subject: [PATCH] fix --- controller/PostgreSQL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index 26d560879..7897cf5e2 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -333,7 +333,7 @@ void PostgreSQL::updateMemberOnLoad(const uint64_t networkId, const uint64_t mem Utils::hex(state, 48, state_hex); char authenticationURL[4096]; const char *redirect_url = "redirect_uri=http%3A%2F%2Fmy.zerotier.com%2Fapi%2Fnetwork%2Fsso-auth"; // TODO: this should be configurable - Utils::ztsnprintf(authenticationURL, sizeof(authenticationURL), + OSUtils::ztsnprintf(authenticationURL, sizeof(authenticationURL), "%s?response_type=id_token&response_mode=form_post&scope=openid+email+profile&redriect_uri=%s&nonce=%s&state=%s&client_id=%s", authorization_endpoint.c_str(), redirect_url,