Foundations
Start here if identity is new to you: what an identity is, how people prove who they are, the terminal and web skills the labs use, and the keys, signatures, certificates and token formats that make digital trust possible.
Identity fundamentals
The whole identity landscape through one familiar example, from creating an account to letting another application act for you.
- What is Identity?Follow an account through a name change and see how a service distinguishes the person, the record, and the claims it holds.
- Establishing an identityHelp Mia establish an account, then ask what her chosen name, verified email, and other sources actually tell the service.
- Proving control of an accountFollow Ava back to her account and examine the evidence a service accepts before it lets her sign in.
- Deciding what someone can doFollow a request to a shared album and see how permissions become a decision the server must enforce.
- Clients, servers, and addressesOpen an album with Ava, take its address apart, and follow how the browser finds and connects to the service.
- How applications communicateRead the messages behind Ava's clicks, from an album request to the redirect that takes her to sign-in.
- Staying signed inFollow Ava from one page to the next without another password prompt, then see what must happen when her session ends.
- Trust across systemsFollow Ava's sign-in from one service to another and examine the evidence each participant must trust.
- Keys, encryption, and signaturesTake a sign-in message apart and see how keys, signatures, encryption, hashing, and encoding each contribute something different.
- Protecting credentials and messagesFollow passwords, cookies, and tokens through their lives and see what protects them before a service accepts them.
- Giving another application limited accessHelp a printing application read Ava's photos without collecting her password, then follow how that access is limited.
- History of SSOFollow the problems that shaped shared-computer accounts, network tickets, web sign-in, federation, and passkeys.
Identity proofing
How an organization checks that a person is who they claim to be before it creates or upgrades their identity.
- What proofing establishesFollow a clinic portal through resolution, validation, and verification, and learn how much confidence proofing needs and what happens when it is inconclusive.
- Proofing methodsCompare document inspection, chip and digital credentials, record checks, face comparison, address confirmation, and vouching, including how each one fails.
Technical foundations
The terminal and web skills, practiced on your own computer, that the labs and the Credentials and keys lessons rely on. Skip it only if you are reading for the concepts alone.
- Setting up your terminalChoose the browser workspace or your own computer, run your first command, install only the tools your route needs, and verify their versions and locations.
- Terminals and shellsLearn what a terminal and a shell do, how to read a prompt, how the shell splits a line into a command and its arguments, and what an exit status reports.
- Finding your way around files and directoriesLearn how files and directories form a tree, how to find where you are, how to move around with absolute and relative paths, and how to match names with wildcards.
- Reading and changing filesRead files whole or in part, create, copy, move and delete them safely, tell what a file contains regardless of its name, join commands with ;, && and ||, and run a file of commands.
- Connecting commands with pipes and redirectionLearn how standard input, output and error work, redirect them to and from files, write files with here-documents, join commands into pipelines, and read a pipeline's exit status.
- Variables, quoting and the environmentStore values in shell variables, quote them so spaces survive, capture command output, give missing values a default, pass settings to child processes, load settings files with source, and read secrets without showing them.
- Searching and shaping textFind lines with grep and regular expressions, cut out columns, sort and count them, change text with tr and sed, build pipelines one stage at a time, and loop over words and lines when each one needs a decision.
- Writing a small scriptTurn a file of commands into a runnable script with arguments, exit codes, case and functions, stop pasted blocks safely, and use set -euo pipefail and a scratch folder that cleans up after itself.
- How names become addresses: DNSLearn how DNS turns names into IPv4 and IPv6 addresses, how resolvers and caches find and keep answers, which record types matter, and how to look names up with dig.
- Connections, ports and speaking HTTP by handSee how an address and a port reach a service, open TCP connections, and type HTTP requests yourself with nc and openssl to read exactly what a server sends back.
- Sending requests with curlRead every part of a URL, then build curl commands that choose a method, add headers, send JSON bodies and credentials, show the whole exchange, read status codes, fail clearly in scripts and probe redirects.
- Reading JSON from APIs with jqRead the JSON that APIs send back: its kinds of value, pretty printing with jq, picking out and filtering values, and passing shell values in safely.
- Encoding and hashingHow text becomes bytes, how hex, base64, base64url and percent-encoding write those bytes, how SHA-256 turns any input into a fixed-size digest, and what a digest does and does not prove.
- Time and timestampsRead Unix time, time zone names and ISO 8601, convert between them with GNU and BSD date, do arithmetic on timestamps, and see why clock skew and unit mistakes break expiry checks.
- HTTPS and certificates in practiceSee what TLS adds to HTTP, watch a handshake with curl, read a server certificate and its chain with openssl, and understand the checks that make verification fail.
- What browsers add: same-origin, CORS and cookiesLearn what an origin is, what the same-origin policy blocks, how CORS and preflight requests relax it, how cookie attributes, prefixes and third-party cookie rules work, which headers tighten the browser, and how to see all of it with browser developer tools and curl.
- Cross-site scripting and where tokens liveSee how cross-site scripting puts someone else's code inside a page, what that code can reach, how each place a browser application keeps tokens changes the damage, and how pages keep scripts out.
- Building your identity lab toolkitCollect the functions you wrote in Technical foundations into one tested file that every terminal loads, see why it is sourced and why eval needs trusted text, then install the lab toolkit and compare it with your own functions.
Credentials and keys
Shared secrets and key pairs, what a digital signature proves, how keys are stored and published, how certificates bind keys to names, and the XML and JOSE formats that carry signed identity data.
- Secrets and key pairsDistinguish identifiers from credentials, compare shared secrets with public and private key pairs, and see how a challenge proves possession of a key.
- Digital signaturesFollow a signed access token from signing to verification, and learn what a signature shows, what it does not, and what a verifier must decide for itself.
- Storing and using keysCompare where private keys can live, limit what each key can do, publish public keys with key identifiers, and replace a key without breaking verifiers.
- What a certificate saysRead a decoded certificate field by field and understand how it binds a public key to names and permitted uses, and what it does not claim.
- Certificate authorities and chainsFollow a certificate chain from a website to a trusted root, and learn how trust stores, intermediate CAs, constraints, transparency logs, and private PKI fit together.
- Validating a certificateWork through the checks a client performs on a certificate, read common validation failures, and see why disabling verification is not a fix.
- XML and XML signatures for identityRead elements, attributes and namespaces, follow how an XML signature protects one referenced element, and see why canonicalization, parser settings and signature wrapping matter for SAML.
- Inside a JWT: JWS and compact serializationTake a real compact JWT apart: base64url without padding, the header parameters, the registered claims and NumericDate, the signing input, and why decoding is not validating.
- Choosing and enforcing algorithmsWhy the receiver, not the token, chooses the algorithm: the HS256, RS256, PS256, ES256 and EdDSA families, the none algorithm and algorithm confusion, allowlists, and changing algorithms safely.
- JWKs, key sets, and key IDsRead a JWK and its members, pick a key within a trusted set by kid or thumbprint, recognize the jwk, jku, x5u and x5c header traps, and understand bounded cache refresh and rollover.
- Encrypting tokens with JWEAuthenticated and hybrid encryption, the five parts of a compact JWE, key-management versus content algorithms, protected-header integrity, algorithm choices, and why decryption is not identity.