The Money Path and the Auth Path¶
Run the Money Path and the Auth Path MicroSim Fullscreen
About This MicroSim¶
A critical user path is a journey where a failure would hurt a user, lose money or expose private data. This MicroSim lays out two of them from the dating-safety app, step by step.
The money path runs from a member paying on Stripe's page to starting a paid scan. The auth path runs from a request arriving at a scan route to the server returning the scan to its owner.
Steps marked with a warning sign had no test in the running example. The wrong answer choices are illustrative.
How to Use¶
- Click any step in either path.
- Before the answer shows, pick what happens to a member if that step breaks.
- The panel tells you if you were right, shows the harm, and names the test that would catch it. The step turns green or pink.
- Answer all nine questions. Auth step 1 is the entry point and has no question.
Seven of nine right shows mastery. Notice which steps carry the warning sign: their failures show on no screen.
Iframe Embed Code¶
You can add this MicroSim to any web page by adding this to your HTML:
<iframe src="https://arunbatchu.github.io/good-enough-engineering/sims/critical-paths-map/main.html"
height="549px"
width="100%"
scrolling="no"></iframe>
Lesson Plan¶
Grade Level¶
Adult professional (Good Enough Engineering)
Duration¶
10-15 minutes
Learning Objective¶
Explain, for each step of the money path and the auth path in the dating-safety app, what goes wrong for a member if that step breaks and which test would catch it.
Prerequisites¶
- Critical user path
- Webhook
- Signature
- Integration test
- 401 and 404 status codes
- Viewer role
Activities¶
- Exploration (3 min): Trace both paths left to right and read the legend.
- Guided Practice (6 min): Click each step and predict the harm before reading the answer.
- Assessment (4 min): Check your score. Explain why a viewer's change must be tested by a request sent straight to the server.
Assessment¶
Mastery is 7 of 9 steps predicted correctly on the first attempt. Opening a step again after answering is exploration.
References¶
- Stripe: Receive Stripe events in your webhook endpoint - signatures and retries.
- OWASP Top 10: Broken Access Control - why server-side checks matter.
- Mermaid flowchart syntax - the library that draws this diagram.
