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

Replace jsonwebtoken dependency #269

Open
jrhoads opened this issue Jun 14, 2023 · 1 comment
Open

Replace jsonwebtoken dependency #269

jrhoads opened this issue Jun 14, 2023 · 1 comment
Assignees
Labels
dependencies Pull requests that update a dependency file tech_debt

Comments

@jrhoads
Copy link
Contributor

jrhoads commented Jun 14, 2023

As stated in auth0/node-jsonwebtoken#863,

jsonwebtoken is a Node.js module, its use in a browser was never intended. Versions before 9.0.0 could use webpack's polyfill of the Node.js built-in modules. ....It is better to rely on JWT modules made to be consumed in browser environments. You can discover such modules on jwt.io under "JavaScript" libraries.

There are now issues with versions < 9.x

A potential replacement is something like jose

@jrhoads jrhoads added dependencies Pull requests that update a dependency file tech_debt labels Jun 14, 2023
@jrhoads
Copy link
Contributor Author

jrhoads commented Jun 14, 2023

It is currently use here

import JsonWebToken from 'jsonwebtoken'

@bklaing2 bklaing2 self-assigned this Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file tech_debt
Projects
None yet
Development

No branches or pull requests

2 participants