How to add libjwt to OpenWrt

I need to add libjwt for google cloud authentication but I don't know how to do so. Can anyone help me?
Library is available here.

You'll likely need to create a package for the library and compile it with the sources you need to link it to.

OpenWRT has a package for jose and it looks similat to libjwt

But jose is not yet implement JWT until now