Better HN
topnewbestaskshowjobs
Log inSign up

robertpaschal

1 karma · joined Oct 20, 2026 (1mo ago) · 9 submissions

Submissions

comment 2d ago · link · parent

Having built auth for a small SaaS (TOTP, OAuth and SAML), I don't think the number of factors is where the risk is. A phishable second factor, like a TOTP code typed into a lookalike page, is weaker than a single hardware key. What fails in practice is recovery and sessions: the lost-my-phone flow that falls back to email, and long-lived sessions or API tokens that never see the factor at all.

So rather than more factors, I'd want step-up checks on sensitive actions (changing the email, exporting data, creating a token) and scoped, expiring tokens for anything automated.

comment 1w ago · link · parent

Writing down what my own code doesn't do. I maintain a small open-source Postgres migration helper, and recently got my first feature request from someone I'd never met. Building the feature was the easy part. What I'm proud of is the docs release after it, which says plainly what the tool leaves to you, like the down migrations that drizzle-kit never runs for you. The AI wrote plenty of the code. It didn't decide what to admit.