frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Pawl – Hooks that check what a coding agent's script would delete

https://github.com/ulukaya/pawl
1•ulukaya•57s ago•0 comments

Show HN: AltTab Windows Switcher for Mac

https://github.com/sr3d/AltTab
1•sr3d•1m ago•0 comments

Hyper-local foliage timing from 25 years of satellite phenology

https://mapped.earth/foliage
1•aaronjbecker•1m ago•0 comments

I had Codex and Pi build the same app in Orca, then compared them side by side

https://piscaries.github.io/posts/codex-and-pi-build-the-same-app-in-orca/
1•piscaries•2m ago•0 comments

FusionAuth sets up UK team after European revenue jumps 72%

https://uktechnews.co.uk/2026/10/06/fusionauth-sets-up-uk-team-after-european-revenue-jumps-72/
1•mooreds•4m ago•0 comments

ProjectTodo: A local todo board with an MCP server for your AI assistant

https://github.com/nidheesh1994/projecttodo
1•nidheesh1994•4m ago•0 comments

Interesting Facts

https://erikgahner.github.io/facts/
1•erikgahner•4m ago•1 comments

Macsploit – a native macOS security workbench built with SwiftUI and Rust

https://github.com/doctordoomies/MACSPLOIT
1•doctordoomies•5m ago•0 comments

Hutch: Local code reviews in Emacs for the mildly disenfranchised

https://kitallis.in/p/hutch-a-local-code-review-interface-for-magit/
1•utiiiD•6m ago•0 comments

Judge allows Paramount to close $110B takeover of Warner Bros. Discovery

https://www.nbcnews.com/business/media/judge-allows-paramount-close-110-billion-takeover-warner-b...
1•hmokiguess•6m ago•1 comments

ChatGPT Space: a dystopia of centralised context

https://sentientsands.substack.com/p/chatgpt-space-a-dystopia-of-centralised
1•richardcrng•8m ago•3 comments

Shipping JPEG XL in Chrome

https://developer.chrome.com/blog/jpeg-xl-in-chrome
3•ledoge•8m ago•0 comments

Remove revenue tax on Kotlin, Swift, TypeScript and Go based apps

1•pcvetkovski•8m ago•0 comments

Which is the Best Linux terminal? Alacritty, Kitty, Ghostty, Foot, it's not easy

https://grigio.org/which-is-the-best-linux-terminal-alacritty-kitty-ghostty-foot-its-not-easy/
1•grigio•9m ago•0 comments

Credit Crunch

https://www.wheresyoured.at/credit-crunch/
3•crescit_eundo•10m ago•0 comments

OpenAI uses substantially different model for subs vs. API?

https://github.com/johnmu/codex-reasoning-token-experiment
1•jmu1234567890•11m ago•0 comments

A Jekyll theme that turns your blog into a macOS desktop

https://github.com/wlswo/macos-style-blog-theme
2•wlswo•11m ago•0 comments

Show HN: Aether: Check and fix web accessibility issues from your coding agent

https://github.com/allchemylabs/aether-wcag-scanner
1•samy_patra•11m ago•0 comments

What keeps documentation in sync with code changes

https://amendary.com/blog/tools-that-keep-documentation-in-sync-with-code
1•higeorge13•13m ago•0 comments

Show HN: Octri.dev – Generate customizable docs, 10 SDKs, and get an MCP server

https://octri.dev
1•EmadKhair•14m ago•0 comments

Show HN: Scrbbl – Underline your handwritten notes on iPad to get AI answers

https://github.com/AdamProbolsky/scrbbl
1•probolsky•14m ago•0 comments

A searchable collection of Seth Godin's book recommendations

https://www.thisisbroken.co.uk/
1•thetwopct•14m ago•1 comments

100 Best Articles of 2026

https://www.readponder.com/best-of-2026
1•colinbolin•15m ago•1 comments

Show HN: Best Prompt Generator Extension

https://chromewebstore.google.com/detail/gpt-prompt-maker-prompt-g/njpoaipglodaefkcinilkpicepdlimoo
1•sanathbhat•15m ago•0 comments

My first trading models knew which companies would survive

https://redgeoff.com/posts/trading-model-leakage/
1•redgeoff•16m ago•0 comments

Show HN: Session-continuity, cryptographic proof of session chains

https://github.com/mohammeddevsec-sys/session-continuity
1•devsec_moh•17m ago•0 comments

TasteVal: Does AI have research taste?

https://pzeroresearch.com/work/tasteval/
2•lukaspetersson•17m ago•0 comments

How environment variables work (and why you should delete your .env file)

https://infisical.com/blog/how-environment-variables-work
2•dangtony98•19m ago•0 comments

AI Is Now Si: Super Intelligence Isn't Superior

https://tej.as/blog/super-intelligence-isnt-superior
1•kesor•21m ago•2 comments

Emergence of pan-drug resistant virus in Kenya. Second globally documented case [PDF]

https://www.nature.com/articles/s41598-026-70653-9
1•thunderbong•22m 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/