frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I Put My Startup Esdenera on Hold

https://web.archive.org/web/20210515020855/https://reykfloeter.com/posts/why-i-put-my-startup-esd...
1•lsofzz•31s ago•0 comments

Am I Cited by AI? See which AI assistants are reading your papers

https://www.amicitedby.ai/
1•jmnicholson•4m ago•0 comments

Quantifying Context Rot

https://www.boolean.ai/blog/context-rot-quantified
1•ssatia•5m ago•0 comments

A4list: Two weeks, folded small (A4 paper plan designer)

https://a4list.enzom.dev/
1•emadda•7m ago•1 comments

Signal Enables Phone Number-Less Registration in Beta

https://www.privacyguides.org/news/2026/09/16/signal-enables-phone-number-less-registration-in-beta/
1•Cider9986•7m ago•0 comments

Steve Wozniak launches merch store

https://daringfireball.net/linked/2026/09/16/woz
1•ffin•8m ago•1 comments

VideoRouter – OpenRouter for video and image generation APIs

https://videorouter.sh
1•franklin_yao•11m ago•0 comments

Perhaps I Got Lucky Never Learning Math

https://humanparadox.org/perhaps-i-got-lucky-never-learning-math/
2•colingauvin•11m ago•0 comments

Gentrification signals are a lagging indicator of home prices, not a leading one

https://www.petervijeh.com/projects/zip-forecast
1•p-s-v•11m ago•0 comments

GPS time from ATSC broadcast PoC

https://www.fabian.fyi/2026/09/time-for-atsc-time.html
1•optimiz•15m ago•0 comments

iTerm2 Buddy – iTerm2 Companion App

https://iterm2.com/companion-app.html
1•hmokiguess•16m ago•0 comments

Firefox 156 opens PDFs 45% faster, plus a few annoying bug fixes

https://www.pcworld.com/article/3235795/firefox-156-opens-pdfs-45-percent-faster-plus-a-few-annoy...
2•jnord•18m ago•0 comments

Ribbit: A Small Scheme VM, Compiler and REPL in 4K (2021) [video]

https://www.youtube.com/watch?v=A3r0cYRwrSs
2•so-cal-schemer•19m ago•1 comments

Well did LLMs for Mortals hold up 6 months after publishing

https://crimede-coder.com/blogposts/2026/LLMsForMortalsUpdate
1•apwheele•23m ago•0 comments

One9s – A Bubble Tea TUI for OpenNebula Cluster Management

https://one9s.scszero.com/
2•SergioZ3R0•26m ago•0 comments

Flock cameras are riddled with security vulnerabilities and hardcoded creds

https://micahflee.com/flock-cameras-are-riddled-with-security-vulnerabilities-and-hard-coded-cred...
33•micahflee•26m ago•3 comments

How electric cars took hold in Australia

https://www.nytimes.com/2026/09/15/world/australia/electric-cars-iran-war-gas-australia.html
1•bookofjoe•26m ago•1 comments

waterfall: Induction Proofs in Lean

https://samth.github.io/waterfall/
1•matt_d•29m ago•0 comments

Danish pharma giant Novo to use Anthropic's Claude to advance AI drug discovery

https://www.euronews.com/health/2026/09/16/danish-pharma-giant-novo-to-use-anthropics-claude-to-a...
4•billybuckwheat•29m ago•1 comments

Show HN: Learn Claude Code – Interactive Mindmap

https://mikenikles.com/blog/learn-claude-code
1•mikenikles•32m ago•0 comments

Show HN: Collected every single "What are you working on" project into a website

https://what-are-you-working-on-62u6b.reachpad.app/
2•sakuraiben•32m ago•2 comments

Model Misalignment Reporting Framework

https://openai.com/index/model-misalignment-reporting-framework/
2•raahelb•34m ago•0 comments

What we learned from our traces

https://traces.com/blog/agent-sessions-are-a-dataset
1•sriharis•34m ago•0 comments

You are doing your code gen wrong

https://testrigor.com/blog/what-everyone-gets-wrong-about-ai-code-generation/
2•artem001•34m ago•0 comments

HarnessTax: How Much Does the Harness Matter for Coding Agents?

https://harnesstax.github.io/
1•matt_d•35m ago•0 comments

Can I get insurance for company renting humanoids for parties?

2•cpsk•36m ago•1 comments

The Phenomenon of Bullshit Jobs: A Work Rant (2013)

https://davidgraeber.org/articles/on-the-phenomenon-of-bullshit-jobs-a-work-rant/
1•fnoef•37m ago•0 comments

Show HN: Fivetran CLI is released to Beta

https://pypi.org/project/fivetran-cli/
1•emrah•37m ago•0 comments

Assistant Benchmark

https://assistantbenchmark.com/
1•djoldman•43m ago•1 comments

Typesafe-computer-use drives a Mac toward a goal for 1/50th of a cent per step

https://github.com/awlevin/typesafe-computer-use
1•rahimnathwani•43m ago•0 comments
Open in hackernews

Ask HN: Why is web auth not a solved issue?

2•zwnow•1y ago
Personally, every project I start, I quit due to not being comfortable with the auth implementation.

I've been into web development for 4 years now. During my research regarding auth in this timeframe, I have found a million reasons on why I should not roll it myself. The reason is always it being to difficult to implement, too much responsibility and basically no matter how I'd do it, it would be unsafe.

The general consensus among web developers seems to be to just let a third party do it. And I understand the reasoning, they are experts and have decades of experience on that specific thing. It makes sense as long as you're fine with third party service dependencies for your application. However, I don't want that. I do not feel comfortable submitting my users data to tech giants for obvious reasons.

I am wondering why it's so difficult to implement secure auth? Why can frameworks like Laravel or Phoenix just generate auth solutions? Why should I trust them, if everyone is saying I shouldn't roll it myself?

After all, if Laravels or Phoenix generated auth isn't safe, I am the one taking responsibility anyway, no?

To my understanding web auth has been an issue for decades now, why aren't there protocols in place to solve it? Or if they are, why aren't they talked about a lot?

Considering how often I read about auth breaches with the big players in the game (Firebase as an example) I am not comfortable trusting third parties with that task either.

So how is one supposed to do it? There are so many JWT tutorials on youtube, but apparently JWTs aren't safe either. Then there are session cookies, which also aren't safe? Why is that?

I am also not talking about authorization. I specifically mean authentication. If I wanted a micro blog platform where users can log into their accounts and write about stuff, how would I make sure it's secure without having to trust third parties, especially big tech companies who repeatedly prove they cant be trusted over and over again?

Comments

arrowsmith•1y ago
> if Laravels or Phoenix generated auth isn't safe

What makes you think they're not safe? Zillions of successful apps have been built using Laravel and Phoenix and (afaik) no-one has hacked their auth code yet. The code is open-source for anyone to inspect for vulnerabilities. I wouldn't feel unsafe using them.

You seem to misunderstand what it means to "roll your own auth".

"Don't roll your own auth" doesn't mean "use a third-party auth provider". It means "use an existing, expert-made auth solution and don't try to write it yourself."

That can be a third-party provider like Firebase, it can be a code dependency like Rails's Devise, it can be generated by `phx.gen.auth` in Phoenix, it doesn't matter - the point is that you're using a tried-and-tested auth solution written by someone who knows what they're doing.

Writing your own auth code is generally a bad idea because it's complicated, time-consuming and easy to get wrong. But there are zillions of off-the-shelf solutions you can use that have been created by security experts and battle-tested in thousands of production apps. As far as I'm concerned, web auth is a solved problem.

zwnow•1y ago
Interesting. When I generate auth for Phoenix the API endpoints are not piped through any security pipes. Only the browser endpoints. Why wouldn't I secure my API endpoints? The same kind of requests that are made for browser requests are sent to the API routes, so this is really confusing.
arrowsmith•1y ago
Ah yes. `phx.gen.auth` generates a cookie-based auth system, which is fine for the :browser pipeline but it's not generally what you want for a JSON API.

The Phoenix docs include a suggestion for how you can extend `phx.gen.auth` to add token-based authentication to your API: https://hexdocs.pm/phoenix/api_authentication.html

(No, this isn't "rolling your own auth" either, it's using someone else's pre-written auth code.)

johncoltrane•1y ago
> The general consensus among web developers seems to be to just let a third party do it.

Outside of personal projects, third-party auth providers must be audited (think GDPR or PIPL), budget must be allowed, contracts signed, etc. so web developers rarely, if ever, have their say on the matter. The decision is taken long before anyone wrote a single line of code. From a project management perspective, it's an easy trade-off to make: one sprint for integrating Okta versus who knows how many for badly implementing something that requires a level of expertise that no one on the team has reached.

For personal projects, the trade-off is a bit different. Resources are scarce so, even if implementing auth is actually not very complicated(1) and can even be quite fun, there are probably more immediately interesting things to do. So you integrate a third-party solution in a wednesday night and you move on.

[1] https://thecopenhagenbook.com/