What makes api authentication and oauth dependable?
Dependability comes from explicit record authority, safe delivery semantics, bounded recovery, and reconciliation—not from the number of endpoints. For credentials, delegated access, token lifecycle, and revocation, the design must explain what happens after duplicates, delay, partial failure, and an ambiguous timeout. Credential lifecycle is part of the product boundary.
Should this use a request, webhook, queue, or batch?
Use a request when the caller needs an immediate decision, a webhook when a source announces change, a queue when work needs isolation and retry, and a batch or reconciliation job when completeness matters more than immediacy. Many durable integrations use more than one pattern.
What should be tested beyond the happy path?
Test invalid and missing data, stale versions, duplicate events, reordering, throttling, permission changes, timeout after remote commit, and replay. The route risk—granting broad or long-lived access without rotation and auditability—needs a concrete test rather than a sentence in a brief. A valid token can still be over-scoped, expired, revoked, or used for the wrong tenant.
What evidence belongs at handoff?
Provide payload examples, mapping rules, state diagrams, failure categories, dashboards, alert ownership, replay instructions, and a reconciliation report. Exercise install, refresh or reauthorization, revocation, and offboarding paths.