Using jwt in micropython

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
kmgraves
Posts: 1
Joined: Wed Aug 09, 2017 9:15 pm

Using jwt in micropython

Postby kmgraves » Wed Aug 09, 2017 9:23 pm

I am converting a program from python to micropython and had too many dependency issues with getting the python jwt library to work so I am attempting to use the c version of the library instead: https://github.com/benmcollins/libjwt

In my program I need to call the create_jwt function in my micropython scripts so the token can be used in another function and am unsure how to go about preparing this library for use in micropython. I was following the documentation here: http://micropython-dev-docs.readthedocs ... odule.html
However, the classes section seems to be outdated as was much of the documentation.

User avatar
deshipu
Posts: 1118
Joined: Thu May 28, 2015 5:54 pm

Re: Using jwt in micropython

Postby deshipu » Wed Aug 09, 2017 10:40 pm

Yes, that documentation was an attempt to fill the gap and provide the missing dev docs. However, that actually backfired at me — since the documentation is not official, the developers are changing things without updating it, and there is no chance to keep it current. At the same time, there is no incentive to actually provide official documentation. I'm thinking about taking that down completely.


Return to “Development of MicroPython”

Who is online

Users browsing this forum: No registered users and 1 guest