Skip to content

Support edge runtime #996

Open
Open
@MorelSerge

Description

@MorelSerge

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

This library is not compatible with Vercel's edge runtime (haven't tested others) due to this line:
https://github.com/auth0/node-auth0/blob/master/src/utils.ts#L10

Describe the ideal solution

This library to support the edge runtime

Alternatives and current workarounds

Patch the package to not use node.version.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions