
5 min read
Web app authentication: sessions, JWT or OAuth
How sessions, JWTs and OAuth differ, when to choose each, how to store tokens safely and which authentication mistakes are most common.
- Security
- API
(Tag)
API design: REST, GraphQL, webhooks, authentication and contracts between front end, backend and partners.

5 min read
How sessions, JWTs and OAuth differ, when to choose each, how to store tokens safely and which authentication mistakes are most common.

5 min read
Double charges come from repeated requests and webhooks. We cover idempotency keys, webhook handling, unique indexes and tests for your payment flow.

5 min read
REST is the default, GraphQL suits many clients on a complex data model, gRPC suits service-to-service calls. We compare the three and how to combine them.

5 min read
REST API rules for web and mobile clients: resource naming, methods and status codes, one error format, pagination and changes that do not break clients.