VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
React and Golang JWT Authentication - Tutorial

React and Golang JWT Authentication - Tutorial

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn how to create a secure authentication system with React & Go using HttpOnly Cookies Emixam23: Hey! :) amazing tutorial, I have however a small question.. we do agree that you send -clearly- the password to the backend, isn-t it a bad practice? (Just wondering, newb question over here!) :)
Also, I-m thinking right now that your use of bcrypt generates a crypted password, but would this work if I want to move from Golang to another language? (C++, NodeJs, whatever) if I want to login, then will the bcrypt from another language result to the same result?
Thanks for this amazing work!
Max

Date: 2022-03-14

Comments and reviews: 9


I have no background in computer science nor programing. I only have a bachelor's degree in psyc from USC.
Would I still be able to make it in masters courses in like computer science or programing?
Your honest input will be greatly appreciated.
Also, any input from anyone else will be also be greatly appreciated.
Thank you all inadvance.

reply

thank for tutorial Sir. Following your tutorial iam blocked since hours on : - local import -./database- in non-local package, when trying to run main.go ; plus i read that Go doesnt support local import. please Sir can you inlight me
reply

Hi... thanks for this amazing tut about fullstack golang with fiber ... I want mention that Fiber v2 used golang module accourdeing to document so if anyone want start using Fiber please make sure you run go mod init
reply

That's a high quality content!! Thanks for sharing that!
I'd like to know how to handle account verification via email. Cause I sort of -swept the Web- and didn't find a clear way to combat that problem.

reply

Hi, I've done the same project using JS in React, but Frontend is buggy, when I LogIn I have to refresh the page to load the data, I've copied your code, didn't do anything different
reply

For login process, it is unsafe to only check email data. In fact it just a less point, caused you've posted password too but do nothing with it at GOLANG side. Hehehe...
reply

Be aware that almost all tutorials uses dgrijalva/jwt-go which is not maintained anymore. Is there any other JWT packages that could be used?
reply

I have tried to make this in react JS but i cant login without reloading the page? Somebody that created this with js in react and not type script?
reply

vueJs seems easier. But similar concepts. I-ll have to try React to see if I I like it any better. Backend is simple stuff to me anyway
reply
Add a review, comment






Other channel videos