DEV Community

Adam Sung Min Park
Adam Sung Min Park

Posted on

JWT(JSON web token)

Been awhile.

currently trying to learn how to implement login function to my python project. the project itself doesnt really require user authentication/authorization but I thought it would be a good place to learn how to do so.

My first approach was to look in to JWT.
JWT is consisted of three parts, header, payload and signature.

I liked how they made this to secure the user information, by not storing the user info into the db.
I learned how to generate the token but utilizing this token to access designated user info is going to be a different challenge to me.

Hopefully soon, I'll learn how to actually "authorize/authenticate" so that i can make my projects more realistic.

TL;DR : learning how to play with JWT.

Top comments (2)

Collapse
 
webjose profile image
José Pablo Ramírez Vargas

Read all about JWT's @ JWT. That's where I learned.

Collapse
 
adamsteradam profile image
Adam Sung Min Park

yea i ve been reading the documentations in JWT but i guess i need to actually code more and practice in a way haha thanks