From 96fdc9cacc176d6269e51dbd490de568c2254bb4 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sun, 22 Jul 2018 18:02:48 +0200 Subject: [PATCH] cleanup --- src/reclaim/plugin_rest_openid_connect.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index 876e221b5..679d8f7d9 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c @@ -984,16 +984,10 @@ get_client_name_result (void *cls, char *prefix; ticket_str = GNUNET_STRINGS_data_to_string_alloc (&handle->ticket, sizeof (struct GNUNET_RECLAIM_Ticket)); - //TODO add signature to code payload over nonce and ticket _and_ use jansson here! //TODO change if more attributes are needed (see max_age) code_json_string = build_authz_code (&handle->priv_key, &handle->ticket, handle->oidc->nonce); - /*GNUNET_asprintf (&code_json_string, "{\"ticket\":\"%s\"%s%s%s}", - ticket_str, - (NULL != handle->oidc->nonce) ? ", \"nonce\":\"" : "", - (NULL != handle->oidc->nonce) ? handle->oidc->nonce : "", - (NULL != handle->oidc->nonce) ? "\"" : "");*/ code_base64_final_string = base_64_encode(code_json_string); tmp = GNUNET_strdup (handle->oidc->redirect_uri); redirect_path = strtok (tmp, "/"); -- 2.25.1