From: Schanzenbach, Martin Date: Sat, 21 Jul 2018 11:34:50 +0000 (+0200) Subject: fix subject in JWT X-Git-Tag: v0.11.0~322^2~53 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=33d45d039f618ec2892c8db3961f4f76a0e63652;p=oweals%2Fgnunet.git fix subject in JWT --- 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,