Implement Authentication using JWT in Servant | Haskell | Tutorial

Published: 08 June 2024
on channel: Purely Haskell
845
20

Code link: https://github.com/tusharad/haskell-e...

Secure your Haskell applications with JSON Web Tokens (JWT) using the Servant framework! In this tutorial, we'll walk you through the process of implementing authentication in Haskell, leveraging JWT for secure and stateless user sessions. You'll learn how to set up and configure Servant for handling authentication, create JWT tokens, and manage user sessions effectively. Perfect for Haskell developers looking to enhance the security of their web applications. Follow along and check the description for the full code on GitHub. Let's make your Haskell apps secure and robust!

#haskell #coding #tutorial #codingtutorial #webdevelopment #authentication #servant #jwt #session #functionalprogramming #programming

Timestamps:

00:00 - Intro
00:30 - What is JWT?
01:30 - Tutorial flow
01:45 - Project demo
04:30 - Starting project
06:19 - Building a simple servant application
10:15 - Exaplaing auth package
13:00 - Creating database
15:45 - Fetch database query
20:55 - Serve with Context
31:30 - Writing login api
47:50 - Creating jwt token
51:20 - Creating dashboard route


On this page of the site you can watch the video online Implement Authentication using JWT in Servant | Haskell | Tutorial with a duration of hours minute second in good quality, which was uploaded by the user Purely Haskell 08 June 2024, share the link with friends and acquaintances, this video has already been watched 845 times on youtube and it was liked by 20 viewers. Enjoy your viewing!