security for simple login

Hey just curious . For a job interview I'm asked to do a login page and some of my friends are suggesting I give it some proper authentication . What's a very simple and easy hash library or library in general to give something that's just html and javascript a small amount of security if just for show To note I'm pretty new to front end and have no experience in anything cyber security
2 Replies
vince
vince5mo ago
I'm not experienced in this stuff at all but I know there's authorization services like Auth0. I personally had a lot of issues when I was using it (probably can just chalk that up to me being a newb) but that would probably be the easiest / most secure way in my inexperienced opinion, as you're just interfacing with a service rather than coding the security out yourself. I'd love to hear what other people suggest for this as it's a weak point for me also
Joao
Joao5mo ago
If it's only front-end, then you don't need to worry about hashing since all the actual security mechanisms are implemented in the back-end. I would focus on making it accessible, easy to use via keyboard only and implementing nice things like a toggle button to hide/show password field.