gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: /setup is a POST


From: gnunet
Subject: [taler-exchange] branch master updated: /setup is a POST
Date: Thu, 02 Nov 2023 16:22:53 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 4a775c6b /setup is a POST
4a775c6b is described below

commit 4a775c6baacd14ce143155a063b0d3ba45a26f9e
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Nov 2 16:22:50 2023 +0100

    /setup is a POST
---
 src/kyclogic/plugin_kyclogic_oauth2.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/src/kyclogic/plugin_kyclogic_oauth2.c 
b/src/kyclogic/plugin_kyclogic_oauth2.c
index 9bf9be1b..8e7e3d3c 100644
--- a/src/kyclogic/plugin_kyclogic_oauth2.c
+++ b/src/kyclogic/plugin_kyclogic_oauth2.c
@@ -695,6 +695,22 @@ initiate_task (void *cls)
                  curl_easy_setopt (eh,
                                    CURLOPT_URL,
                                    pd->setup_url));
+  GNUNET_assert (CURLE_OK ==
+                 curl_easy_setopt (eh,
+                                   CURLOPT_POST,
+                                   1));
+  GNUNET_assert (CURLE_OK ==
+                 curl_easy_setopt (eh,
+                                   CURLOPT_POSTFIELDS,
+                                   ""));
+  GNUNET_assert (CURLE_OK ==
+                 curl_easy_setopt (eh,
+                                   CURLOPT_FOLLOWLOCATION,
+                                   1L));
+  GNUNET_assert (CURLE_OK ==
+                 curl_easy_setopt (eh,
+                                   CURLOPT_MAXREDIRS,
+                                   5L));
   GNUNET_asprintf (&hdr,
                    "%s: Bearer %s",
                    MHD_HTTP_HEADER_AUTHORIZATION,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]