The Twobo blog
Practical, sourced articles on identity and API security. Each piece keeps the address it had on the old blog and has been rewritten from scratch for how things work today.
Topics: Authorization · Cloud computing · Events & community · General · Identity & access management · Federation · Information security · Mobile security · Social login · News · Technical · Archives
- Information security
Security Headers for Login Pages: A Practical Set
The HTTP headers a login or SSO page should send, and why: CSP with frame-ancestors and form-action, HSTS, no-store caching, referrer policy and cookies.
- Federation
SAML Response Errors: How to Debug and Fix SSO Failures
Debug a failing SAML SSO login: decode the response, then check status, signature, certificate, audience, recipient, InResponseTo, time conditions and NameID.
- Authorization
OAuth redirect_uri Mismatch: Causes and Fixes
Why OAuth servers reject a redirect_uri, from trailing slashes and http vs https to encoding, proxies and localhost ports, and why exact matching is the rule.
- Authorization
How to Validate a JWT Access Token: The Checks in Order
The checks an API should run on every JWT access token, in order: algorithm allow-list, key lookup, signature, issuer, audience, expiry, type and scopes.
- Information security
POODLE and the End of SSLv3, TLS 1.0 and TLS 1.1
How the 2014 POODLE attack broke SSLv3, why RFC 7568 and RFC 8996 later retired SSLv3, TLS 1.0 and 1.1, and which TLS settings to use for identity and API servers.
- Federation
AD FS Claim Rules for LDAP Attribute Stores, Line by Line
A line-by-line guide to AD FS claim rules that query LDAP attribute stores: conditions, issue versus add, store, types, query format, param and escaping rules.