That bcrypt.hash(password, 10) You Copy-Pasted Might Not Be as Secure as You Think
Almost every auth tutorial, including some of my own examples in earlier posts, uses bcrypt.hash(password, 10) without much explanation of what that…
Последние новости AI & ML от Tech News
Almost every auth tutorial, including some of my own examples in earlier posts, uses bcrypt.hash(password, 10) without much explanation of what that…
Conclusion ELN ID is an in-house project run by EarthLink Network as a company, developed by a team of one human owner with AI doing the implementat…
The short version NextAuth (now Auth.js) creates 4 tables in your database: users , accounts , sessions , and verification_tokens . The users and ac…
Middleware is the most underused primitive in Next.js. Teams write one middleware for auth, ship it, and never touch it again. Meanwhile, they bolt…
When a developer-tools user withdraws consent, the dangerous assumption is that deleting a row or changing a settings screen ends access immediately…
Signup on a site I run asked people to prove they owned their email address, and then asked them again. First a six-digit code, emailed and typed ba…
Single sign-on has a quiet premise: when a user arrives from an identity provider, that provider has already vouched for them, so you can skip the p…
We wrote once about the feature tax : the trick of charging you to flip a boolean that's already written, on infrastructure that's already running.…
We had a three-replica cluster that kept disagreeing with itself. Background jobs ran two and three times over. The answer wasn't in the logs; it wa…
Sign-in worked flawlessly in dev. Then a real user pasted a real code and got "invalid format" — before the code ever reached Supabase. The credenti…
Ory Kratos is an open-source, API-first identity and user management system handling registration, login, recovery, verification, and session manage…
One of the easiest mistakes in agent identity design is to collapse ownership and key custody into the same thing. If a human owns an agent, it can…
Most auth bugs do not come from the login button. They show up after login: a user is created in Clerk but not in your app database a session expire…
Your users are in San Francisco, Jakarta, São Paulo, and Sydney. They have WhatsApp open all day. They check it before they check their SMS inbox. W…
Here is something most developers shipping SMS OTP in 2026 do not want to sit with: the channel they are trusting to verify their users is failing r…
Authentication answers "who are you?" Authorization answers the harder question: "are you allowed to do this?" By the time a request reaches this st…
In the first four chapters of this series I've talked about what the Auth Gateway decides. This chapter is about who it decides for. We run a multi-…
In Chapter 3 the controller branched on something called the "endpoint type": switch endpointType ( perms ) { case "OPEN" : ... case "AUTHENTICATED"…
Most auth services start simple — verify the token, return 200 or 401. Then requirements accumulate. Tenant isolation. Service accounts. Token revoc…
If you've been on a platform team long enough, you've probably watched this slow-motion failure: You ship an auth library. Three services adopt it.…
In Chapter 1 I claimed our entire Auth Gateway is built on top of one NGINX directive: auth_request . This chapter is a deep dive into how that dire…