Browse Source

fix

pull/2/head
Grant Limberg 5 years ago
parent
commit
c2efdcabc5
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A
  1. 2
      controller/PostgreSQL.cpp

2
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,

Loading…
Cancel
Save