Top "Jwt" questions

JSON Web Token (JWT, pronounced "jot") is an emerging type of token-based authentication used in space-constrained environments such as HTTP Authorization headers.

What is the maximum size of JWT token?

I need to know the maximum length of JSON Web Token (JWT) In specs there are no information about it. …

jwt
How to set jwt token expiry time to maximum in nodejs?

I dont want my token to get expire and shold be valid forever. var token = jwt.sign({email_id:'123@…

node.js jwt
What is secret key for JWT based authentication and how to generate it?

Recently I started working with JWT based authentication. After user login, a user token is generated which will look like "…

jwt
Authenticating socket io connections using JWT

How can I authenticate a socket.io connection? My application uses a login endpoint from another server (python) to get …

node.js socket.io jwt token
How to decode the JWT encoded token payload on client-side in angular 5?

I am getting one JWT encoded access token from my API in response. But I am not able to decode …

angular jwt decode access-token
How to send a token with an AJAX request from jQuery

I use express-jwt and create my token via jQuery and save it in my localStorage with: $.ajax({ url: "http://localhost:8080/…

javascript jquery express jwt express-jwt
How to use jti claim in a JWT

The JWT spec mentions a jti claim which allegedly can be used as a nonce to prevent replay attacks: The "…

node.js rest express restful-authentication jwt
Where to store JWT in browser? How to protect against CSRF?

I know cookie-based authentication. SSL and HttpOnly flag can be applied to protect cookie-based authentication from MITM and XSS. However, …

security authentication cookies csrf jwt
What's the difference between JWTs and Bearer Token?

I'm learning something about Authorization like Basic, Digest, OAuth2.0, JWTs, and Bearer Token. Now I have a question. You know …

oauth token jwt
How to decode JWT (Header and Body) in java using Apache Commons Codec?

I am looking decode the following JWT using Apache Commons Codec. How we can do that ? eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0…

apache jwt apache-commons-codec