brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
auth-implementation-patternsImplement or review authentication and authorization with explicit token, session and resource-access boundaries.
Independent GitHub snapshot · Automated classification · Original documentation governs
Build secure, scalable authentication and authorization systems using industry-standard patterns and modern best practices.
resources/implementation-playbook.md.resources/implementation-playbook.md for detailed patterns and examples.Input: an Express application accepts a user's login and keeps the pre-login session ID. Read the bundled playbook, regenerate the session after credential verification, save only required identity fields, and verify that the old cookie cannot access /api/profile. Also test failed login, logout and store failure. Expected: successful login changes the session ID; failed login grants no access.
Record the installed framework/SDK versions, identity provider, tenant model, credential store and test environment. Supply project-specific database adapters and request schemas; examples are integration sketches, not a runnable identity service.