From 33d45d039f618ec2892c8db3961f4f76a0e63652 Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Sat, 21 Jul 2018 13:34:50 +0200 Subject: [PATCH] fix subject in JWT --- src/reclaim/plugin_rest_openid_connect.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/reclaim/plugin_rest_openid_connect.c b/src/reclaim/plugin_rest_openid_connect.c index d1c5b31b6..bd11b2de7 100644 --- a/src/reclaim/plugin_rest_openid_connect.c +++ b/src/reclaim/plugin_rest_openid_connect.c @@ -1606,10 +1606,8 @@ token_endpoint (struct GNUNET_REST_RequestHandle *con_handle, GNUNET_free(ticket); return; } - struct GNUNET_CRYPTO_EcdsaPublicKey pk; - GNUNET_IDENTITY_ego_get_public_key (ego_entry->ego, &pk); char *id_token = jwt_create_from_list(&ticket->audience, - &pk, + &ticket->identity, cl, &expiration_time, (NULL != nonce && json_is_string(nonce)) ? json_string_value (nonce) : NULL, -- 2.25.1