Implement Authentication using JWT in Servant | Haskell | Tutorial

Published: 08 June 2024
on channel: Purely Haskell
554
16

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


Watch video Implement Authentication using JWT in Servant | Haskell | Tutorial online without registration, duration hours minute second in high quality. This video was added by user Purely Haskell 08 June 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 55 once and liked it 1 people.