How I Set Up JWT Authentication for Waygates

Here is devlog #2 for the waygates project. This is how I setup JWT authentication in Go using Gin. As always here is a link to the repository on Github. User authentication consists of three endpoints: /signin , /signout , and /signup . The /signin endpoint has the following flow: Check if the email is in our database and grab the hashed password. Hash the password from the request. Check if the…