Ask HN: How do you currently solve authentication?
I&#x27;m storing hashed password in the database. I&#x27;m writing POST http handler and storing user info in the session information. I don&#x27;t know why would I use framework or even service, it&#x27;s just few dozens of simple lines of code. I don&#x27;t use frameworks for simple things. I guess it might make sense when one need to support login via Google, Facebook, etc, I&#x27;m working on enterprise websites which don&#x27;t need that.