Questions tagged [json-web-signature]

JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures.

It consists of:

  • A JOSE Header (the union of the JWS Protected Header and the JWS Unprotected Header), describing the digital signature or MAC used to generate the signature
  • A JWS Payload, which is the content to be transmitted
  • A JWS Signature

The JWS Signature can be used by the recipient of the JWS to verify the integrity of the JWS Protected Header, JWS Payload and JWS Signature.

It is specified in RFC 7515.

32 questions
-1
votes
5 answers

Invalid Token Error: Invalid token specified: Cannot read property 'replace' of undefined?

I was trying to decode token created through jwt, so that I can access values in my react page and and use it.But for some reason it shows "InvalidTokenError: Invalid token specified: Cannot read property 'replace' of undefined" this error, I…
-1
votes
1 answer

Which is the better way for token authentication. JWT or anyother method

I was using JWT authentication on my website for login data. It looks like we can decode the JWT Token without a key. Try the below website. It's shocking to me. So is there any better token authentication method is there apart from JWT Token…
johnie
  • 113
  • 1
  • 9
1 2
3