JWT - Json Web Token

in #d-tube6 years ago (edited)

Today I implemented an authentication server using jwt.io. A framework for creating a secure Json web token authentication.
(jwt.io is not only available for nodejs but also for Asp.net, python, Java and many more)

How it works:
A user signs up into his account by passing his credentials to the server. The server then responses with an encrypted token, which does contain some user information (not the password though). As soon as the client has received the token, he uses it to authenticate himself (e.g. when he is doing an API call )

D-TUBE Alternative:
Originally I tried out this way of authorization in order to add it into another project of mine. But, as it turns out, it's a really useful, secure and a simple way to authenticate so I will also implement it in my d-tube alternative.

Thank you for reading !
Have a nice day!

As always: If you like my content, feel free to upvote this post. Thank you :)

Sort:  

Congratulations @labomba! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 1 year!

Click here to view your Board

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @labomba! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.17
TRX 0.13
JST 0.027
BTC 60796.19
ETH 2601.58
USDT 1.00
SBD 2.57