MapfableRead-only flowchart
View
Show route
Motion

Visual connection guide only. It does not run the system.

Sign-in Failure InvestigationLocate the session boundary: successful authentication, a rejected follow-up request, and a verified recovery path.{"title":"Sign-in Failure Investigation","description":"Locate the session boundary: successful authentication, a rejected follow-up request, and a verified recovery path.","graph":{"direction":"LR","nodes":[{"id":"submit","type":"io","label":"Submit credentials","description":"POST /sign-in sends fictional credentials to an isolated loopback service. The response was HTTP 200. No real account or secret was used.","group":"","basis":"observed","category":"frontend","groupId":"client","position":{"x":100,"y":200},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"request","type":"process","label":"Request session","description":"GET /session is compared twice: the first deliberately omits Cookie, and the second explicitly carries the cookie issued at sign-in. Node fetch does not manage a browser cookie jar. Browser policy and proxy forwarding remain outside this evidence.","group":"","basis":"observed","category":"frontend","groupId":"client","position":{"x":100,"y":460},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"rejected","type":"terminal","label":"401 · Sign-in required","description":"The first follow-up response was HTTP 401 with error missing_session. This is a captured server response, not an observed browser screen.","group":"","basis":"observed","category":"frontend","groupId":"client","position":{"x":100,"y":770},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"credentials","type":"process","label":"Verify credentials","description":"The service looked up the fictional member account and accepted the supplied credentials. This boundary succeeded in request signin-01.","group":"","basis":"observed","category":"backend","groupId":"identity","position":{"x":540,"y":200},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"issue","type":"process","label":"Issue session","description":"The service generated a session identifier, stored its account mapping in memory and returned Set-Cookie with Path=/, HttpOnly and SameSite=Lax. The evidence redacts the generated value.","group":"","basis":"observed","category":"backend","groupId":"identity","position":{"x":540,"y":460},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"cookie","type":"decision","label":"Session cookie?","description":"The service first checks whether the session cookie exists. Missing-cookie requests stop before session-store lookup; a present cookie continues to resolution.","group":"","basis":"observed","category":"backend","groupId":"identity","position":{"x":520,"y":700},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"accounts","type":"datastore","label":"Accounts","description":"An in-memory account collection contains one fictional member. The lookup matched during signin-01; this cylinder represents a data store, not a claim that an external database was exercised.","group":"","basis":"observed","category":"database","groupId":"state","position":{"x":1020,"y":200},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"sessions","type":"datastore","label":"Active sessions","description":"An in-memory map holds the generated session-to-account association for the lifetime of the isolated service. The service is closed after the comparison.","group":"","basis":"observed","category":"database","groupId":"state","position":{"x":1020,"y":460},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"resolve","type":"process","label":"Resolve session","description":"With the issued cookie explicitly supplied, the service resolved the active session to the fictional account. Request session-03 returned HTTP 200 with authenticated: true.","group":"","basis":"observed","category":"backend","groupId":"state","position":{"x":1020,"y":740},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"authorized","type":"terminal","label":"200 · Authorized","description":"The comparison request carrying the issued cookie returned authenticated: true. This verifies this isolated service path; it does not prove a browser configuration change or a production repair.","group":"","basis":"observed","category":"frontend","position":{"x":1480,"y":752},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]}],"edges":[{"id":"submit-credentials","source":"submit","target":"credentials","label":"POST /sign-in","description":"Submit the fictional member credentials.","basis":"observed","sourceHandle":"right","targetHandle":"left","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"credentials-accounts","source":"credentials","target":"accounts","label":"Look up account","description":"Credential validation reads the in-memory account collection.","basis":"observed","sourceHandle":"right","targetHandle":"left","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"accounts-issue","source":"accounts","target":"issue","label":"Accepted","description":"A matched account permits a new session to be issued.","basis":"observed","sourceHandle":"bottom","targetHandle":"right","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"issue-sessions","source":"issue","target":"sessions","label":"Store session","description":"Persist the session-to-account association in the service memory.","basis":"observed","sourceHandle":"right","targetHandle":"left","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"issue-request","source":"issue","target":"request","label":"Next request","description":"After the successful sign-in, issue the follow-up request. One comparison omits Cookie; the other explicitly carries it.","basis":"observed","sourceHandle":"left","targetHandle":"right","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"request-cookie","source":"request","target":"cookie","label":"GET /session","description":"The follow-up request crosses the session boundary.","basis":"observed","sourceHandle":"bottom","targetHandle":"left","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"cookie-rejected","source":"cookie","target":"rejected","label":"Missing cookie","description":"Request session-02 had no Cookie header and received HTTP 401. The absence was deliberately injected; browser or proxy causation is not established.","basis":"observed","sourceHandle":"left","targetHandle":"right","labelOffset":{"x":-20,"y":-189},"sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"cookie-resolve","source":"cookie","target":"resolve","label":"Cookie present","description":"Request session-03 explicitly supplied the previously issued cookie and continued to lookup.","basis":"observed","sourceHandle":"right","targetHandle":"left","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"resolve-sessions","source":"resolve","target":"sessions","label":"Read session","description":"Resolve the cookie value against the in-memory active sessions.","basis":"observed","sourceHandle":"top","targetHandle":"bottom","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]},{"id":"resolve-authorized","source":"resolve","target":"authorized","label":"Session found","description":"The matched session produced the captured HTTP 200 authenticated response.","basis":"observed","sourceHandle":"right","targetHandle":"left","sources":[{"repository":"Mapfable Showcase","path":"../evidence/signin-observations.json","revision":"080908b29677c94710f2168a62bbee8832f72421fcd484d8116342165f4a837d","note":"Captured from a constructed loopback HTTP service with in-memory data. This is not a production incident or a browser-cookie trace."}]}],"groups":[{"id":"client","label":"Client requests","description":"Three HTTP exchanges expose the difference between signing in and carrying a session on the next request."},{"id":"identity","label":"Identity service","description":"Credential validation and cookie checks are separate boundaries. A successful sign-in does not guarantee the next request is authenticated."},{"id":"state","label":"Session state","description":"The isolated service uses in-memory account and session stores. No production database or user data is involved."}]},"investigation":{"title":"Session boundary analysis","environment":"Isolated local sign-in scenario","checkedAt":"2026-10-31T13:07:11.329Z","summary":"A controlled local HTTP comparison isolates a missing session cookie. Sign-in issued a cookie successfully. Omitting it on the follow-up request produced HTTP 401; carrying it returned HTTP 200. Cookie policy and proxy behavior were not exercised. The absent header is an observed failure condition, while its cause in a real client remains open.","findings":[{"id":"signin-accepted","targetId":"credentials","targetType":"node","status":"verified","note":"Credentials were accepted.","evidence":"Captured request signin-01: POST /sign-in → 200; accountLookupMatched=true and credentialsAccepted=true. Fictional account in an isolated local service."},{"id":"cookie-issued","targetId":"issue","targetType":"node","status":"verified","note":"The session was created and a cookie was issued.","evidence":"Captured request signin-01: sessionCreated=true, cookieIssued=true; Set-Cookie: session=[redacted]; Path=/; HttpOnly; SameSite=Lax."},{"id":"transport-review","targetId":"request","targetType":"node","status":"suspected","note":"Check why the real client might fail to carry the cookie.","evidence":"The comparison intentionally omitted the header. Browser credentials mode, cookie domain/path/SameSite policy and proxy forwarding were not exercised, so none is established as the root cause."},{"id":"missing-cookie","targetId":"cookie-rejected","targetType":"edge","status":"confirmed_failure","note":"The follow-up request was rejected at the cookie boundary.","evidence":"Captured request session-02: GET /session without Cookie → HTTP 401, {\"error\":\"missing_session\"}; cookiePresent=false and sessionLookupAttempted=false."},{"id":"lookup-recovered","targetId":"resolve","targetType":"node","status":"verified","note":"Carrying the issued cookie restored authenticated access.","evidence":"Captured request session-03: Cookie explicitly supplied → HTTP 200, {\"authenticated\":true,\"accountId\":\"account-local\"}; sessionLookupAttempted=true and sessionLookupMatched=true. This is a local comparison result, not a deployed fix."}]}}MAPFABLE · FLOWCHARTSign-in Failure InvestigationLocate the session boundary: successful authentication, a rejected follow-up request, and a verified recovery path.Investigation · Isolated local sign-in scenario · 2026-10-31T13:07:11.329ZFrontendBackend serviceDatabase & storageClient requestsClient requests3 stepsIdentity serviceIdentity service3 stepsSession stateSession state3 stepsPOST /sign-inLook up accountAcceptedStore sessionNext requestGET /sessionMissing cookieCookie presentRead sessionSession foundSubmit credentialsFrontendSubmit credentialsRequest sessionFrontendRequest session? Investigate401 · Sign-in requiredFrontend401 · Sign-inrequiredVerify credentialsBackend serviceVerify credentials✓ VerifiedIssue sessionBackend serviceIssue session✓ VerifiedSession cookie?Backend serviceSession cookie?AccountsDatabase & storageAccountsActive sessionsDatabase & storageActive sessionsResolve sessionBackend serviceResolve session✓ Verified200 · AuthorizedFrontend200 · AuthorizedRead-only snapshot · Status reflects the included evidence, not live monitoring.
All flow