aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 14:47:48 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-05-06 14:47:48 +0200
commita0a666fb61005f3da542a146988acc44995d5b0c (patch)
treeff350019c947d55c1f207045821b8cf5209b6e4a
parentd07fba1140760a4652e0acce0ad3cfd854da984e (diff)
downloadgnunet-a0a666fb61005f3da542a146988acc44995d5b0c.tar.gz
gnunet-a0a666fb61005f3da542a146988acc44995d5b0c.zip
fix
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c
index a7a8de173..9c93b7764 100644
--- a/src/reclaim/plugin_rest_openid_connect.c
+++ b/src/reclaim/plugin_rest_openid_connect.c
@@ -933,7 +933,6 @@ oidc_ticket_issue_cb (void *cls, const struct GNUNET_RECLAIM_Ticket *ticket)
933 ticket_str = 933 ticket_str =
934 GNUNET_STRINGS_data_to_string_alloc (&handle->ticket, 934 GNUNET_STRINGS_data_to_string_alloc (&handle->ticket,
935 sizeof(struct GNUNET_RECLAIM_Ticket)); 935 sizeof(struct GNUNET_RECLAIM_Ticket));
936 // TODO change if more attributes are needed (see max_age)
937 code_string = OIDC_build_authz_code (&handle->priv_key, 936 code_string = OIDC_build_authz_code (&handle->priv_key,
938 &handle->ticket, 937 &handle->ticket,
939 handle->attr_list, 938 handle->attr_list,
@@ -1533,8 +1532,7 @@ authorize_endpoint (struct GNUNET_REST_RequestHandle *con_handle,
1533 } 1532 }
1534 } 1533 }
1535 handle->oidc->scope = get_url_parameter_copy (handle, OIDC_SCOPE_KEY); 1534 handle->oidc->scope = get_url_parameter_copy (handle, OIDC_SCOPE_KEY);
1536 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Scope: %s\n",GNUNET_strdup ( 1535 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Scope: %s\n", handle->oidc->scope);
1537 handle->oidc->scope));
1538 if (NULL == handle->tld) 1536 if (NULL == handle->tld)
1539 GNUNET_CONFIGURATION_iterate_section_values (cfg, "gns", tld_iter, handle); 1537 GNUNET_CONFIGURATION_iterate_section_values (cfg, "gns", tld_iter, handle);
1540 if (NULL == handle->tld) 1538 if (NULL == handle->tld)