JWT_

JWT

JWT stands for JSON Web Token. It is used to share security information between the client and server-side.

JWT is used just for authorization. Authorization is mainly what makes sure that the user which sends a request to the server is…


This content originally appeared on DEV Community and was authored by Nafisa Muntaha

JWT

JWT stands for JSON Web Token. It is used to share security information between the client and server-side.

JWT is used just for authorization. Authorization is mainly what makes sure that the user which sends a request to the server is the same person who logged in. It means it is authorized if the user has access to the system.

JWT uses a web token for this authorization. It works like this-

  • It executes the authentication process. Then the server creates a JSON web token, which we know stands for JWT, and creates a secret key so the server can check with that if the user is invalid based on that secret key. And then it takes the web token and sends it to the browser and it will send a request to the server with the JWT token. It verifies it so that it can check if the secret key and user information are the same as before to know it is valid or invalid. And if the user is valid, it sends the response back to the server.


This content originally appeared on DEV Community and was authored by Nafisa Muntaha


Print Share Comment Cite Upload Translate Updates
APA

Nafisa Muntaha | Sciencx (2021-12-23T18:17:23+00:00) JWT_. Retrieved from https://www.scien.cx/2021/12/23/jwt_/

MLA
" » JWT_." Nafisa Muntaha | Sciencx - Thursday December 23, 2021, https://www.scien.cx/2021/12/23/jwt_/
HARVARD
Nafisa Muntaha | Sciencx Thursday December 23, 2021 » JWT_., viewed ,<https://www.scien.cx/2021/12/23/jwt_/>
VANCOUVER
Nafisa Muntaha | Sciencx - » JWT_. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/12/23/jwt_/
CHICAGO
" » JWT_." Nafisa Muntaha | Sciencx - Accessed . https://www.scien.cx/2021/12/23/jwt_/
IEEE
" » JWT_." Nafisa Muntaha | Sciencx [Online]. Available: https://www.scien.cx/2021/12/23/jwt_/. [Accessed: ]
rf:citation
» JWT_ | Nafisa Muntaha | Sciencx | https://www.scien.cx/2021/12/23/jwt_/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.