Image for post
Image for post
Cover Image

JWT is an open standard for transferring data securely between two parties. It is used with authentication systems to make authenticated requests. It comprises header, payload, and signature. JWT is a stateless authentication mechanism i.e it maintains sessions in the client-side itself instead of storing it in the server.

The workflow of JWT is so simple. JWT is created with a secret key where the secret key will be kept with your application privately. When your application receives a JWT key from any client, your application verifies the key with the private key. Modification of the public key from the client will result in authentication failure. JWT consist of three distinct parts separated with dots. The initial part is the Header. The second part is the payload and the third is the Signature. …

About

Sjlouji

Software Developer

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store