RECLAIM/OIDC: fix issue attrs
authorSchanzenbach, Martin <mschanzenbach@posteo.de>
Sat, 27 Apr 2019 11:19:08 +0000 (13:19 +0200)
committerSchanzenbach, Martin <mschanzenbach@posteo.de>
Sat, 27 Apr 2019 11:19:08 +0000 (13:19 +0200)
src/reclaim/plugin_rest_openid_connect.c

index 11d6d743d4e4de09efe547f45c71cf1e722b0bff..0ef621536bdf5d0051dbb969914d650ad5bb74af 100644 (file)
@@ -980,6 +980,8 @@ oidc_attr_collect (void *cls,
                                                   attr->type,
                                                   attr->data,
                                                   attr->data_size);
+  le->claim->id = attr->id;
+  le->claim->version = attr->version;
   GNUNET_CONTAINER_DLL_insert (handle->attr_list->list_head,
                                handle->attr_list->list_tail,
                                le);