frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

I Used AWS Cognito for a Startup. I Wouldn't Do It Again

https://joshkaramuth.com/blog/aws-cognito-authentication-startup-nightmare/
44•speckx•1h ago

Comments

AndrewKemendo•43m ago
Nobody is ever going to convince me AWS isn’t hostile to users as a filter

Like how scammers put in typos

_3u10•37m ago
It’s not for users it’s for people who think 1/4 of the traffic a raspberry pi could handle is scale. Or don’t know what a server is.
the8472•7m ago
[delayed]
_3u10•40m ago
Just use whatever service that costs 10x as much to make it do what it was advertised to do in the first place, like DAX for dynamo or cloudfront for S3 in case you hit “scale” like 2000 req/sec
turboturbo•39m ago
This reads like, and is confirmed by Pangram to be, 100% AI slop
justinluther•38m ago
"That’s not an upgrade. That’s a hostage situation."
chasd00•36m ago
hah that quote makes my day.
wilkystyle•35m ago
> Reading Cognito docs feels like someone took three separate manuals, threw them in a blender, and then sprinkled in some outdated Stack Overflow answers for flavor.

This is my experience with basically all of AWS documentation. It is nearly always either (1) far too high-level to be of any actual use, or (2) far too verbose, with a massive volume of superfluous information I need to parse and discard before I get to the stuff I am trying to figure out.

As just one example, I recently needed to link an AWS Partner Central account with an AWS Management account, and process and documentation was painfully complicated: https://docs.aws.amazon.com/partner-central/latest/getting-s...

infecto•19m ago
That’s my experience with any of the 3 hyperscalers when reading docs. Millions of versions, blog posts and just overall massive challenge to get to the root of it. Funny the one thing I was always able to immediately and quickly digest, AWS Textract because they have a great python library with the kind of documentation I expect from a python project.
automatic6131•16m ago
Documentation clearly following Conway's law: shipping the org chart.
disgruntledphd2•7m ago
> That’s my experience with any of the 3 hyperscalers when reading docs.

I used to hate the AWS docs, now I use Azure and I hate that so much more. At least AWS had loads of (bad) docs that you could string together to figure out how to do something. With Azure, there's just no docs (except for bad videos), and they literally tell you (at the top of every page) that you can do this with AI (I know I can do it with AI, but I'd prefer if I could read your docs to make sure the machine isn't doing something dumb).

My expectation is that I'll end up on GCP in a few years, and that will be bad in hilariously different ways.

samdixon•33m ago
Regardless of AI gen'd article... Cognito does have some rough edges. One day I'd like to make a best practices Cloudformation template (if doesn't already exist) that includes things like which login name to set, notification lambdas and the like.

One big pro about cognito.. can't beat the price.

arpinum•26m ago
They added new enterprise features, free ride is over if you want any improvements made to the service in the last 8 years.
pelagicAustral•33m ago
AWS documentation is the best excuse to stay away from their services. I thank everyday for their documents, it's like putting a lighthouse on an iceberg.
mikigraf•31m ago
Don't even get me started on backups or other basic functionality one would expect from a service like this. AWS should either make an acquisition (Auth0 or a smaller company like Wristband?) and rebuild the service, or just kill it. Instead, we have a critical service that enterprises rely on stuck in limbo...
tietjens•21m ago
Auth0 already was acquired.
patwolf•29m ago
My experience with Cognito matches the author's experience exactly. I mostly used Auth0 in the past, but we switched to Cognito for a new project because it would be cheaper.

Don't like that email addresses are case sensitive, and now you want to change that? Sorry, you gotta create a new user pool from scratch--no way to migrate.

opengrass•29m ago
LDAP, or...

Linux/BSD as the identity/runtime layer, SSH is the protocol boundary, and your web backend is the command gateway.

solatic•25m ago
> Next time, I’m picking a tool based on developer experience first, not AWS service integration convenience. The time we lost debugging Cognito issues could have paid for several years of a paid auth provider.

How many paid auth providers let you export user password hashes so that you can seamlessly migrate to another vendor, if you want to?

The whole problem with auth is that both (a) login screens are shown to unauthenticated users, which is a superset that includes attackers, who will do everything from DDoS to crafted malicious input to try to grab user secrets, so you really want to pick something that is already running at large production scale and with all the production battle-scars, and (b) that need to go with a managed vendor is very much in tension against local development, vendor independence, data portability, and other Good Engineering Practices (TM).

Sure, AWS Cognito sucks. In many ways, the product feels stuck. Making compromises to get stuff shipped, working, and stable sucks. But honestly, unless you're going to prefer (b) over (a) (and there are times to do so, in particular with intranet applications behind a firewall that aren't really susceptble to those kinds of attacks) and pick something like Keycloak, you could do a lot worse than Cognito (shudder, Okta, shudder).

goosejuice•23m ago
Ory let's you do this I believe.
badrequest•25m ago
IMHO not rolling your own auth is asking for stuff like this to happen.
duttish•16m ago
I built a product on Cognito in 2017-18 or when it was, and already back then it felt semi-abandonded. Thankfully that particular product never really took off and we didn't have to spend too much time on wrangling Cognito.
hirako2000•14m ago
AWS is mental health hazard, has been for many years.
klodolph•11m ago
Feels like there are a few categories of services from cloud providers,

There’s the basic infrastructure we know and love like S3, EC2, etc.

There’s the higher level but still basic stuff that just makes a lot of sense. I like ECS + Fargate, Lambda, DynamoDB, SQS.

And then there are the tarpits. CloudFormation. Cognito. Step Functions. API Gateway. They do something useful (otherwise why would they exist?) but the main point of their existence seems to be to trap you in AWS, and the fact that they solve a problem seems secondary. Some of them are cheap (CloudFormation is free!) but in general they seem like expensive alternatives to simpler, cheaper solutions.

jprokay13•8m ago
I’ve been pondering a deep dive into Keycloak or Ory. Or is WorkOS good enough for the price? I’m looking to centralize account management across multiple systems.
andrewstuart•7m ago
Why use any AWS for a startup?

Why use AWS for any size company?

DerDerDaIst•4m ago
I had the same learnings with cognito when using it for a product we built.

We mainly choose it because AWS was used anyway and the security aspect seemed to be solved entierly with this coice (if aws get's hacked ... ).

We regretted it out of similar reasons.

ryanchants•8m ago
I always say that AWS docs are exhaustive, but exhausting. Mostly because they're spread across half a dozen places. The answer you need is normally in there somewhere, but good luck finding it. And when I remember the docs contain some fact I want re-reference, I can never find it again.

"IT WoRKs BeTter in the App "

https://shkspr.mobi/blog/2026/08/it-works-better-in-the-app/
221•blenderob•2h ago•90 comments

Get your Windows license refund

https://en.refund4freedom.org/
63•smartmic•53m ago•27 comments

Inception-style curved map for turn-by-turn directions

https://www.orbify.eu/demo/
68•smoser•2h ago•24 comments

OpenAI: Migrating to HTTPX2

https://github.com/openai/openai-python/blob/main/httpx2.md
94•tosh•2h ago•41 comments

U.S. Sanctions Against the a/I Collective

https://www.inventati.org/
98•exiguus•1h ago•63 comments

Hilariously Fast Volume Computation with the Divergence Theorem

https://alyssarosenzweig.ca/blog/hilariously-fast-volume-computation-with-the-divergence-theorem....
160•luu•5h ago•34 comments

I Used AWS Cognito for a Startup. I Wouldn't Do It Again

https://joshkaramuth.com/blog/aws-cognito-authentication-startup-nightmare/
48•speckx•1h ago•30 comments

EPA says power for data centers can sidestep pollution laws

https://www.epa.gov/newsreleases/epa-issues-permitting-guidance-further-president-trumps-agenda-p...
108•Levitating•1h ago•54 comments

OpenStreetMap State of the Map 2026

https://2026.stateofthemap.org/
10•lode•50m ago•0 comments

Interactive pattern discovery in binaries (FF-16-TUI)

https://github.com/HexLasso/FF-16-TUI
16•HexLasso•1h ago•0 comments

Pentagon's blacklisting of Anthropic was unlawful, US judge rules

https://www.reuters.com/legal/government/us-judge-blocks-pentagons-anthropic-blacklisting-2026-08...
200•softwaredoug•3h ago•72 comments

Advertisers Could Soon Demand 'Verified Clicks'

https://www.amediaoperator.com/news/advertisers-could-soon-demand-verified-clicks/
24•thm•2h ago•24 comments

Luanti removed from Google Play due to baseless AI copyright notice

https://blog.luanti.org/2026/08/27/luanti-dmca-tracer-ai/
172•miniBill•8h ago•58 comments

How do functions like alloca allocate memory from the stack?

https://devblogs.microsoft.com/oldnewthing/20260817-00/?p=112617
6•ibobev•42m ago•0 comments

Show HN: SubSmith – Turn your own videos into language-learning material

https://subsmith.app
34•IbrahimF96•3h ago•38 comments

Bhartrhari's Paradox

https://www.futilitycloset.com/2026/08/18/bhartrharis-paradox/
16•surprisetalk•2h ago•11 comments

Saving 100 terabytes of memory by optimizing 1.1.1.1's DNS cache

https://blog.cloudflare.com/dns-cache-memory-optimization-1111/
843•TangerineDream•21h ago•249 comments

Interactive Warhammer 40k Galaxy Map – Cartographia Imperialis

https://cartographia40k.com/
68•gbxyz•6h ago•13 comments

httpx2

https://github.com/pydantic/httpx2
19•tosh•2h ago•6 comments

The Twelve-Factor App

https://12factor.net/
8•jxmorris12•15h ago•2 comments

Small Models Have Arrived

https://calv.info/small-models-have-arrived
723•tosh•22h ago•317 comments

ALMA Reveals Long-Lived Hotspots on Betelgeuse's Bubbling Surface

https://www.almaobservatory.org/en/audiences/alma-reveals-long-lived-hotspots-on-betelgeuses-bubb...
14•layer8•2h ago•0 comments

507 Mechanical Movements

https://507movements.com/
634•helloplanets•1d ago•76 comments

Terry Rozier and the Teleprompt Operator

https://iainschmitt.com/post/terry-rozier-and-the-teleprompt-operator
8•surprisetalk•2h ago•0 comments

Sovereign Tech Agency invests €500k in Flatpak

https://modal.cx/blog/announcing-flatpak-sta/
219•eigenspace•8h ago•120 comments

Doctors are finally learning to manage antidepressant withdrawal

https://www.newscientist.com/article/2584861-antidepressant-withdrawal-symptoms-are-prompting-a-r...
216•eutropheon•16h ago•234 comments

Show HN: OpenTIE and OpenXWA, Modern Ports of Tie Fighter and X-Wing Alliance

https://github.com/elyosh/OpenTIE/
199•elyosh•16h ago•49 comments

GoGoGrandparent (YC S16) is hiring back end engineers

https://www.ycombinator.com/companies/gogograndparent/jobs/2vbzAw8-backend-engineer
1•davidchl•11h ago

Gemini-3.5-Transcribe

https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-3-5-transcribe/
326•k9294•20h ago•116 comments

We found a division by zero bug in FFmpeg with a vibecoded fuzzer

https://code.ffmpeg.org/FFmpeg/FFmpeg/issues/24290
275•dclavijo•20h ago•236 comments