diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2022-04-16 17:51:27 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2022-04-16 17:51:27 +0200 |
commit | b496b8fed5bcef74e79bad7351cab98aae6a7dd7 (patch) | |
tree | f2e3139723a02a8f26b1d301dae326f75f36b764 /src/exchange/taler-exchange-httpd_kyc-proof.c | |
parent | fc1383ebd1cf2c57069422dc8a26d09f48869e10 (diff) | |
download | exchange-b496b8fed5bcef74e79bad7351cab98aae6a7dd7.tar.gz exchange-b496b8fed5bcef74e79bad7351cab98aae6a7dd7.tar.bz2 exchange-b496b8fed5bcef74e79bad7351cab98aae6a7dd7.zip |
add more flexibility to endpoint naming for KYC
Diffstat (limited to 'src/exchange/taler-exchange-httpd_kyc-proof.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_kyc-proof.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/exchange/taler-exchange-httpd_kyc-proof.c b/src/exchange/taler-exchange-httpd_kyc-proof.c index f561a95a8..75ff81e96 100644 --- a/src/exchange/taler-exchange-httpd_kyc-proof.c +++ b/src/exchange/taler-exchange-httpd_kyc-proof.c @@ -579,8 +579,8 @@ TEH_handler_kyc_proof ( "curl_easy_init"); } GNUNET_asprintf (&kpc->token_url, - "%stoken", - TEH_kyc_config.details.oauth2.url); + "%s", + TEH_kyc_config.details.oauth2.auth_url); GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, CURLOPT_URL, @@ -603,8 +603,8 @@ TEH_handler_kyc_proof ( char *request_uri; GNUNET_asprintf (&request_uri, - "%slogin?client_id=%s", - TEH_kyc_config.details.oauth2.url, + "%s?client_id=%s", + TEH_kyc_config.details.oauth2.login_url, TEH_kyc_config.details.oauth2.client_id); redirect_uri = curl_easy_escape (eh, request_uri, |