From b496b8fed5bcef74e79bad7351cab98aae6a7dd7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 16 Apr 2022 17:51:27 +0200 Subject: add more flexibility to endpoint naming for KYC --- src/exchange/taler-exchange-httpd_kyc-proof.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_kyc-proof.c') 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, -- cgit v1.2.3