DalvinCodes / user-login-service

0 stars 0 forks source link

Implement JWT #10

Closed DalvinCodes closed 2 years ago

DalvinCodes commented 2 years ago

JSON Web Tokens are used to transmit payloads (info/data) between clients and services in an "encrypted" way. This form of authorization is used industry wide. When you login to Twitter, a JWT is created and sent to Twitter's servers where it then validates the token for a header, claim, and signature. Every interaction with Twitter's servers must have this token, or you will not be authorized.

This is bare minimum authorization and is NOT recommended to be used as your only form of authorization when protecting data.

DalvinCodes commented 2 years ago

Here are some resource on how this is used:

JWT.io YouTube Video

DalvinCodes commented 2 years ago

Branch JWT_Implementation has been created to support this task.