Skip to content

Support edge runtime #34

@ArianHamdi

Description

@ArianHamdi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions