Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support edge runtime #34

Open
ArianHamdi opened this issue Aug 12, 2024 · 0 comments
Open

Support edge runtime #34

ArianHamdi opened this issue Aug 12, 2024 · 0 comments

Comments

@ArianHamdi
Copy link

I am trying to use Fernet.js in the Next.js middleware to decrypt a user token, but the edge runtime only supports a limited subset of Node.js modules and does not support the crypto module. Instead, it requires the use of the Web Crypto API.

More on this: https://nextjs.org/docs/messages/node-module-in-edge-runtime

I want to know if there are any plans to support this runtime as well, or if there is any other implementation of Fernet that supports the edge runtime?

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant