You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: