Golang API Authentication using JWT Tokens



Golang API Authentication using JWT Tokens

Golang API Authentication using JWT Tokens

👉 Check our website: https://scalablescripts.com

Golang login and generate JWT Token. We will Login using JWT( JSON Web Token ) which is the standard method for SPA Authentications. We will not use the traditional “Bearer method” but instead we will login using HttpOnly cookies which is a more secure authentication.

Source Code: https://github.com/scalablescripts/go-auth

This video can be combined with other videos:
React and Golang JWT Authentication: https://www.youtube.com/playlist?list=PLlameCF3cMEuXdBAqa4v8CsbjGnpic71H
VueJS and Golang JWT Authentication: https://www.youtube.com/playlist?list=PLlameCF3cMEvSY8iQ6QBVE8VRK4UiZZ33
Angular and Golang JWT Authentication: https://www.youtube.com/playlist?list=PLlameCF3cMEuy78DyKkpyZeDzYY0Giz8A
NextJS and Golang JWT Authentication: https://www.youtube.com/playlist?list=PLlameCF3cMEvoymqJrVrvwx5VLLpjin8r
NuxtJS and Golang JWT Authentication: https://www.youtube.com/playlist?list=PLlameCF3cMEtOuGnG8pb450EHLHiw1Lyk
Svelte and Golang JWT Authentication: https://www.youtube.com/playlist?list=PLlameCF3cMEs5vYnpFLdDPuXnUiJcBgT0

00:00 Preview
00:29 Setup with Fiber Framework
02:28 Database
05:49 Restructuring
09:03 Register
19:48 Login
33:13 Authenticated User
38:47 Formatted Output
39:54 Logout

#go #golang

Comments are closed.