Replies: 1 comment 5 replies
-
I don't share this opinion. The code base as-is is not likely to be portable to WebAPI-compatible environment. It may be the case that i'll do stripped down version of the library as a universal one that the node one will then depend on. No capacity for taking that on at the moment tho. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We would like to use this library in our Cloudflare workers app so that we can store our user's session info alongside the client apps that they are logged into, without exposing that session info directly to the browser. Looking through the code and the dependencies this library has, it seems like it would pretty straightforward to make it work with both the workers environment and Node.
jose
already works in browsers, and there are minimal usages of other node APIs, which could be converted to web equivalents.Is there interest in supporting Cloudflare workers/non-Node environments? If so, we could donate some time to build it out.
Beta Was this translation helpful? Give feedback.
All reactions