diff options
Diffstat (limited to 'src/reclaim/plugin_rest_openid_connect.c')
-rw-r--r-- | src/reclaim/plugin_rest_openid_connect.c | 4 |
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 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, | |||
1606 | GNUNET_free(ticket); | 1606 | GNUNET_free(ticket); |
1607 | return; | 1607 | return; |
1608 | } | 1608 | } |
1609 | struct GNUNET_CRYPTO_EcdsaPublicKey pk; | ||
1610 | GNUNET_IDENTITY_ego_get_public_key (ego_entry->ego, &pk); | ||
1611 | char *id_token = jwt_create_from_list(&ticket->audience, | 1609 | char *id_token = jwt_create_from_list(&ticket->audience, |
1612 | &pk, | 1610 | &ticket->identity, |
1613 | cl, | 1611 | cl, |
1614 | &expiration_time, | 1612 | &expiration_time, |
1615 | (NULL != nonce && json_is_string(nonce)) ? json_string_value (nonce) : NULL, | 1613 | (NULL != nonce && json_is_string(nonce)) ? json_string_value (nonce) : NULL, |