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

Rodrigo Alves Silva notifications at github.com
Mon Dec 13 16:01:04 CET 2021

@RodrigoAS28 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);

Thanks for your review @miconda.

Still having a issue running it after renaming  `ki_jwt_generate` to  `ki_jwt_generate_hdrs` though: 
Ever saw this error?  
`input in flex scanner failed` 

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211213/6a61d71b/attachment.htm>

More information about the sr-dev mailing list