# JWT Sign with custom header

**URL:** <https://discourse.nodered.org/t/jwt-sign-with-custom-header/71598>\
**Category:** General\
**Tags:** security\
**Created:** [2 December 2022 08:23 UTC](https://discourse.nodered.org/t/jwt-sign-with-custom-header/71598 "2022-12-02T08:23:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![flipzz](https://avatars.discourse-cdn.com/v4/letter/f/bb73d2/32.png) [@flipzz](https://discourse.nodered.org/u/flipzz)\
**Post date:** [2 December 2022 08:23 UTC](https://discourse.nodered.org/t/jwt-sign-with-custom-header/71598/1 "2022-12-02T08:23:33Z")

</div>

Hi,

Iam using the node-red-contrib-jwt and it's sign node to create and sign a jwt-token. So far so good. But I need to set a custom header attribute (iss, in the header) in the jwt-token and cannot find how to add it using the jwt-node.

Any ideas?

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [2 December 2022 09:59 UTC](https://discourse.nodered.org/t/jwt-sign-with-custom-header/71598/2 "2022-12-02T09:59:45Z")

</div>

I think that you may need to reach out to the author via GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 January 2023 09:59 UTC](https://discourse.nodered.org/t/jwt-sign-with-custom-header/71598/3 "2023-01-31T09:59:58Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
