JWT - Json Web Token

in #d-tube7 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!