Creating Golang WebServer With Echo – Part 8: JWT Authentication
Tutorial series for building step by step a real life server in Golang using Echo package.
● Subscribe: http://www.youtube.com/channel/UC6ohtCsLTFOnuSujhI3kLjA?sub_confirmation=1
● Twitter: https://twitter.com/verybluebot
● GitHub: https://github.com/verybluebot
Creating JWT authentication full flow:
Creating the JWT token on login, returning it to the user,
adding middleware that checks the token for validation
and gives/denies access to the end point
Short review of JWT Tokens:
https://www.youtube.com/watch?v=J-9Q469kyJc
Deep (longer) Dive to JWT Tokens:
https://www.youtube.com/watch?v=oXxbB5kv9OA
JWT package in used in this video:
https://github.com/dgrijalva/jwt-go
Starting code for this video:
https://github.com/verybluebot/echo-server-tutorial/tree/part_7_cookies
Full code:
https://github.com/verybluebot/echo-server-tutorial/tree/part_8_jwt
Stay tuned for more 😉
Comments are closed.