Learn-json-web-tokens: JWT is coupled with json 9.0.0 and not higher

Created on 5 Feb 2019  ·  3Comments  ·  Source: dwyl/learn-json-web-tokens

Hello Guys ,

I have installed JWT 4.0.0 version and json version 12.0.1 , but while validating tokens i am getting error saying it needs json version 9.0.0 even though i have higher version (12.0.1)

Please let me know for the solutions

invalid question

Most helpful comment

I am using JWT in c#

All 3 comments

@IAm-Naveen are you referring to the jsonwebtoken module?
https://github.com/dwyl/learn-json-web-tokens/blob/8cd60a592bf1b2ce2415e6b800db895db8dd9b63/package.json#L31-L34

https://www.npmjs.com/package/jsonwebtoken 8.4.0 is the _latest_ version.
image

Please stick to the dependencies listed in the package.json file when following this tutorial.
The json module https://www.npmjs.com/package/json is not relevant
as JavaScript has built-in support for JSON encoding/decoding.

I am using JWT in c#

@IAm-Naveen if you are writing C#, you aren't following this _example/tutorial_.
Therefore you should consider opening this issue on the appropriate C# GitHub repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

joepie91 picture joepie91  ·  18Comments

rjmk picture rjmk  ·  9Comments

NE-SmallTown picture NE-SmallTown  ·  5Comments

rhewitt22 picture rhewitt22  ·  5Comments

alanshaw picture alanshaw  ·  6Comments