by goldname on 7/19/24, 11:51 PM with 25 comments
by dvektor on 7/20/24, 4:48 AM
Personally I think the problem is we are being sold so many 'conveniences'/solutions these days. They want you to think you cannot safely do it yourself, and on top of that, often times it's actually more difficult just to learn how to use whatever API the convenience that's being sold to us, uses.
You are often better off learning what is really happening under the hood, and solving the actual problem, instead of trying to figure out whatever api/tool that is being sold to you as a convenience. EDIT: to clarify, if you are inexperienced: I recommend learning by implementing both session + JWT auth on a side project, before using hand-rolled solutions in production.
by curtisblaine on 7/20/24, 5:43 AM
*difficult not as in "hard to implement", more as in "lots of moving parts, hard to maintain"
by a022311 on 7/20/24, 8:27 AM
by gregopet on 7/20/24, 5:10 AM
by ab_testing on 7/20/24, 5:09 AM
https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...
by aristofun on 7/20/24, 4:29 AM
Unless you are more experienced and smarter than average engineer working on a 3d party solution - you should build your own only for educational purposes.
by notpushkin on 7/20/24, 5:52 AM
by yagami_takayuki on 7/20/24, 12:34 AM
You would either use something like Firebase Auth or the built-in one that comes with your framework of choice. Identity in .NET core for example.
On the topic of auth, and as an aside, wondering if anyone has used a UUID + API key combination to do auth instead of JWT/cookies?
by mhitza on 7/20/24, 8:15 AM
Even better nowadays, there are multiple SaaS/starter kits you can use (most are paid) that remove all these chores and you can get down to your domain flow.
by illuminant on 7/20/24, 3:42 AM
You should consider one of the many frameworks that handle this sort of thing for you (every language has them.)
It is unclear from your comment how you might be helped.
by pkulak on 7/20/24, 5:23 AM
It was pretty boring and grinding. For a personal site, I’d use something off the shelf for sure.