diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-21 13:34:50 +0200 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-07-21 13:34:50 +0200 |
commit | 33d45d039f618ec2892c8db3961f4f76a0e63652 (patch) | |
tree | bc7e52be24db2e0957dce536eec0755ebaf23a7f | |
parent | 735e699708247813ae3e9926190dff35a9c8eba1 (diff) | |
download | gnunet-33d45d039f618ec2892c8db3961f4f76a0e63652.tar.gz gnunet-33d45d039f618ec2892c8db3961f4f76a0e63652.zip |
fix subject in JWT
-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, |