[sr-dev] [kamailio/kamailio] jwt: possibility to add headers when generating jwt (PR #2971)

Daniel-Constantin Mierla notifications at github.com
Mon Dec 13 15:20:38 CET 2021


@miconda commented on this pull request.



> @@ -172,18 +175,28 @@ static int jwt_fcache_add(str *key, str *kdata)
  *
  */
 static int ki_jwt_generate(sip_msg_t* msg, str *key, str *alg, str *claims)
+{
+	return ki_jwt_generate_hdrs(msg, key, alg, claims, NULL);
+}
+

This function has to be moved after `ki_jwt_generate_hdrs()` in order to get it compiled.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2971#pullrequestreview-830298268
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211213/ba562a3b/attachment-0001.htm>


More information about the sr-dev mailing list