Software Testing / Learning brief

The key card at the Daily List hotel

What this means in plain language

A hotel story: the desk gives Lily's app a key card that opens one door until a date. Tom reads the card, tests its limits on a test copy and learns what must never go into a bug ticket.

Understand the full idea, step by step

At a hotel desk you show who you are. The desk gives you a key card. The card opens some doors and stops working on your last day.

Lily wants Daily List to read her calendar. The calendar company plays the hotel desk. Tom, the tester, wants to check the card.

Evidence & review

REVIEWED 2026-10-18

The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.

OAuth and web tokens as taught in this academy, with an invented app and made-up tokens.

What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. Real tokens are never used for training.

Sources for this brief — 8 sources
  1. Market practice

    RFC 6749: The OAuth 2.0 Authorization Framework ↗ — Internet Engineering Task Force · Four roles (resource owner, client, authorization server, resource server) and the scope parameter; a client should ask for the least scope it needs (search excerpt, page not opened)

    Defines four roles (resource owner, client, authorization server, resource server) and the scope parameter, and says a client should ask for the least scope it needs. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Request for Comments 6749, October 2012. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Actual§1.1 roles,§2.3 client authentication,§3.3 scope and§4.1 Figure3/code exchange read. Client credentials can use configured passwords or key-based methods. Current security updates are identified separately.

  2. Market practice

    RFC 7519: JSON Web Token (JWT) ↗ — Internet Engineering Task Force · A token carries claims as a JSON object; registered claim names include iss, sub, aud, exp, nbf, iat and jti; exp gives a time on or after which the token must not be accepted (search excerpt, page not opened)

    Defines the token as claims in a JavaScript Object Notation (JSON) object and the registered claim names iss, sub, aud, exp, nbf, iat and jti. The exp claim gives a time on or after which the token must not be accepted. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Request for Comments 7519, May 2015. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Actual§3 overview and§4.1 registered claims through iat read. JWS/JWE/nesting differ; registered claims are not all mandatory in the base specification but profiles can require them.

  3. Market practice

    RFC 8725: JSON Web Token Best Current Practices ↗ — Internet Engineering Task Force · Best current practice that updates RFC 7519, with advice on checking the algorithm and using appropriate algorithms; only the table of contents was seen (search excerpt, page not opened)

    Best current practice document that updates Request for Comments (RFC) 7519 and gives advice on secure use, including checking the algorithm (section 3.1) and using appropriate algorithms (section 3.2). Only the table of contents was seen. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Request for Comments 8725, February 2020 (BCP 225). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Actual entire§3 validation-practice subsections read: trusted algorithm/key policy, cryptographic checks, issuer/audience and distinct rules for token kinds. Unsigned-token policy is context-sensitive; the authenticated training profile rejects it.

  4. Market practice

    OAuth 2.0 authentication vulnerabilities (PortSwigger Web Security Academy) ↗ — PortSwigger · The state value works like an anti-forgery token and redirect addresses should be matched exactly against a registered list (search excerpt, page not opened)

    Says the state parameter works like an anti-CSRF token, that a missing state is a warning sign, and that providers should match redirect addresses exactly against a registered list. Vendor teaching site, free. Practitioner or vendor guidance, not a standard. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    JSON Web Token for Java Cheat Sheet (Open Worldwide Application Security Project) ↗ — Open Worldwide Application Security Project · Common token weaknesses include token sidejacking and client-side storage (search excerpt, page not opened)

    Covers common token weaknesses, including token sidejacking (a stolen token used to impersonate the user), and client-side storage. Only a part of the page was seen. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Market practice

    The OAuth 2.0 Authorization Framework: Bearer Token Usage (Request for Comments 6750) ↗ — IETF · A bearer token is sent in the Authorization header, and whoever holds it can use it (search excerpt, page not opened)

    Per the search excerpt, a Proposed Standard from October 2012. A bearer token goes in the Authorization header with the word Bearer, whoever holds it can use it, and so it must be protected. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Request for Comments (RFC) 6750, October 2012. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    V34 review, 6 November 2026: Actual§1.2 bearer meaning,§1.3 overview and§2.1 Authorization request header read. Bearer possession does not require a separate proof-of-possession key; other token designs may bind the sender.

  7. Market practice

    Multifactor Authentication Cheat Sheet (OWASP) ↗ — Open Worldwide Application Security Project · Guidance on testing and building multi-factor sign-in (search excerpt, page not opened)

    Defines multifactor authentication, factor types, and advice on one-time password lifetime, single use and attempt limits. Practitioner guidance, not a standard. · Checked 2026-11-08

    Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

    8 November2026 bounded primary update: 8November2026 actual OWASPMFA Intro/factorindependence,OTPHandling/Storage,riskbasedauth and ResettingMFA selectedsections read. Context-specific lifecycle/recovery; no jurisdiction/compliance or fullpage claim.

  8. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

Learn this properly

START HEREOAuth, JSON Web Token (JWT) and tokens for testersA token is like a hotel key card. Learn who hands it out, what it says, when it ends and which doors it opens. Then learn what a tester must never paste into a ticket.Opens at L0 Explain simply · about 18 min

Related briefs

Tom and the hotel key card

Tom signs out of Daily List and sees an old screen after Back. He tests a protected server request with the old session, since a cached screen alone cannot show whether sign-out worked.

READ BRIEF