conv.

All stories
TechQuiet 76d · day 78

Developer Shares AWS Cognito Authentication Struggles in Startup Project

A startup engineer's blog post detailing documentation chaos, API breaking changes, and poor developer experience with AWS Cognito sparks debate on Hacker News.

What to know

  • AWS Cognito's documentation serves multiple audiences (enterprise, frontend, mobile) simultaneously, resulting in confusing, version-fragmented content that wastes developer time.
  • Breaking changes in Amplify v6 required complete rewrites of working authentication code, exemplifying poor API stability for a critical service.
  • Cognito's cost advantage (free up to 50,000 monthly active users) makes it attractive despite poor UX, but engineers debate whether this offsets lock-in versus rivals like Auth0 and Clerk.
  • Enterprise features like SAML federation and backups have known rough edges; some commenters suggest AWS should rebuild or retire the service rather than maintain its current half-polished state.

The dispute Whether Cognito's low cost and AWS integration ultimately justify the steep learning curve, API instability, and operational pain compared to paid alternatives that command higher switching costs. · positions read across 30 posts and comments

many voices

Cognito's pain is real but acceptable tradeoff given its bargain pricing and AWS ecosystem integration once the learning curve is passed.

  • “I don't disagree that AWS Cognito isn't the easiest auth service to work with, but once you figure it out, it works just as well as the others.”

    nater5000 · Hacker News
many voices

Cognito has unacceptable rough edges (SAML, backups, immutable settings) and poor documentation; engineers should avoid vendor lock-in by using alternatives or self-hosting.

  • “Cognito has real rough edges, this article doesn't really mention any of them. If you've ever tried to implement, say, a working SAML integration through Cognito, you'll know how obscure the flow is.”

    cldcntrl · Hacker News ↗
many voices

AWS documentation problems are systemic across services, not unique to Cognito; the platform excels at operations but fails at user-facing product design and clarity.

  • “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…”

    wilkystyle · Hacker News
some voices

All major auth vendors (Cognito, Auth0, Clerk) create vendor lock-in; the real choice is between different types of pain and escalating costs.

  • “I review Auth0 contracts frequently and that is daylight robbery/extortion, a poster child for vendor-lock-in. I had hopes for clerk.dev, but unfortunately the auth business optimizes for deep lock-in + steadily escalating prices.”

    dkobia · Hacker News

“Amplify v6 didn't just change a few method signatures. It fundamentally rearchitected how you interact with Cognito. That's not an upgrade. That's a hostage situation.”

Josh Karamuth, Startup engineer · Personal blog via Hacker News

Josh Karamuth Startup engineer, blog authorAWS Service provider

Developer Shares AWS Cognito Authentication Struggles in Startup Project
joshkaramuth.com

The record 1 articles and posts · last 30 days

  1. I used AWS cognito for a startup. I wouldn't do it again press · HN Best · speckx · 77d ago · +1 outlet

What people are saying 24 voices from 1 site · best of 30 · verbatim