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

Daniel-Constantin Mierla notifications at github.com
Mon Dec 13 09:16:57 CET 2021


I see the PR is changing the prototype of ki_jwt_generate() function by adding a new parameter. However that is exported to KEMI and expects the same number of parameters as so far.

You can rename ki_jwt_generate() to ki_jwt_generate_hdrs() and add the new parameter, then re-add ki_jwt_generate() as a wrapper to ki_jwt_generate_hdrs() calling it with the new parameter being NULL.

-- 
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#issuecomment-992212886
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20211213/df0357c9/attachment.htm>


More information about the sr-dev mailing list