I am new to JWT, I am trying to create a simple JWT in javascript, send it to a controller (using web-api), check it in sql database. when I googled the net I found a examples like: //HEAD
{"typ":"JWT",
"alg":"HS256"}
//claims
{
"Id": 445566,
"name": "Meme Jhon",
"password": "ticktack"
}
//and signature.
I want to create in Javascript my First JWT but i feel something is missing.. what is the full structure? it's not seem logical to start only with the head (like example above..)I need a full example or explaination or a link to a full example. Thank you