aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/reclaim/plugin_rest_openid_connect.c6
1 files changed, 0 insertions, 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,
984 char *prefix; 984 char *prefix;
985 ticket_str = GNUNET_STRINGS_data_to_string_alloc (&handle->ticket, 985 ticket_str = GNUNET_STRINGS_data_to_string_alloc (&handle->ticket,
986 sizeof (struct GNUNET_RECLAIM_Ticket)); 986 sizeof (struct GNUNET_RECLAIM_Ticket));
987 //TODO add signature to code payload over nonce and ticket _and_ use jansson here!
988 //TODO change if more attributes are needed (see max_age) 987 //TODO change if more attributes are needed (see max_age)
989 code_json_string = build_authz_code (&handle->priv_key, 988 code_json_string = build_authz_code (&handle->priv_key,
990 &handle->ticket, 989 &handle->ticket,
991 handle->oidc->nonce); 990 handle->oidc->nonce);
992 /*GNUNET_asprintf (&code_json_string, "{\"ticket\":\"%s\"%s%s%s}",
993 ticket_str,
994 (NULL != handle->oidc->nonce) ? ", \"nonce\":\"" : "",
995 (NULL != handle->oidc->nonce) ? handle->oidc->nonce : "",
996 (NULL != handle->oidc->nonce) ? "\"" : "");*/
997 code_base64_final_string = base_64_encode(code_json_string); 991 code_base64_final_string = base_64_encode(code_json_string);
998 tmp = GNUNET_strdup (handle->oidc->redirect_uri); 992 tmp = GNUNET_strdup (handle->oidc->redirect_uri);
999 redirect_path = strtok (tmp, "/"); 993 redirect_path = strtok (tmp, "/");