Skip to content
<wtf page="auth"/>

REST API auth method picker

Eight broad auth methods cover almost every REST API: Bearer tokens, API keys (header or query), Basic auth, session cookies, OAuth 2.0, mTLS, and HMAC-signed requests. Within OAuth, four current flows and two deprecated ones. This wizard picks one for your situation and flags common mistakes (API keys in query strings, JWT-as-session, OAuth implicit flow).

We’re opinionated: OAuth 2.0 Authorization Code with PKCE for user-facing apps (SPAs, mobile, native). API keys in headers, not query strings, for server-to-server. mTLS for high-security service-to-service. Implicit and Password grants are deprecated; we say so plainly.

Modes

We’re not trying to teach OAuth from scratch — for that, the canonical resource is oauth.net. Our job is “pick the right method.”