Security & Identity

8 guides · about 1 hour of reading

Most breaches exploit ordinary application bugs and misconfigured identity, not exotic cryptography. This subject explains how to think about security in application architecture, then goes deep on the identity protocols every developer meets — OAuth 2.0, OpenID Connect, SAML — how identity and access management fits together in an organisation, how to secure REST APIs with tokens correctly, and the OWASP Top 10 risks with concrete mitigations.

Who this is for

  • Backend and API developers
  • Architects designing authentication
  • Developers integrating with identity providers

Learning path

Read in order for a complete course, or pick the topic you need.

  1. 1Application Security Architecture: Threat Modelling and Design PrinciplesDesign security in: threat modelling with STRIDE, trust boundaries, least privilege, defence in depth, secrets and a secure delivery pipeline.Intermediate9 min read
  2. 2OAuth 2.0 Explained: Roles, Grants, PKCE and Current Best PracticeHow OAuth 2.0 delegates authorization: roles, the authorization code flow with PKCE, client credentials, device flow, scopes and RFC 9700.Intermediate7 min read
  3. 3OpenID Connect: ID Tokens, Discovery, Nonce and Session ManagementOpenID Connect adds identity to OAuth 2.0: the ID token, discovery and JWKS, UserInfo, nonce versus state, logout and correct validation.Intermediate7 min read
  4. 4SAML 2.0 and Single Sign-On: Assertions, Bindings and FederationHow SAML single sign-on works: assertions, SP- and IdP-initiated flows, HTTP bindings, metadata and certificates, signatures and single logout.Intermediate7 min read
  5. 5Identity and Access Management: Lifecycle, MFA and Authorization ModelsIAM for engineers: joiner-mover-leaver, passkeys and MFA, password storage, RBAC vs ABAC vs ReBAC, LDAP and SCIM, and access review.Intermediate8 min read
  6. 6Securing REST APIs with JWT: Verification, Claims and RevocationVerify JWTs safely: JWS structure, algorithm allow-listing, JWKS rotation, claim validation, revocation, token storage and API edge controls.Advanced8 min read
  7. 7OWASP Top 10: The Ten Risk Categories and How to Fix Each OneEvery OWASP Top 10 category explained with a realistic flaw and its fix in a Java web stack, plus how ASVS turns the list into requirements.Intermediate8 min read
  8. 8Information Security Fundamentals for DevelopersThe CIA triad, risk vocabulary, cryptography primitives, TLS and PKI, governance standards, incident response and data protection, for developers.Beginner9 min read