We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa4d1b4 commit 9d9273eCopy full SHA for 9d9273e
website/docs/methodology/lesson-4-prompting-101.md
@@ -101,12 +101,12 @@ What authentication? JWT? OAuth? Session tokens? Which endpoints?
101
102
```
103
Add JWT authentication to the API:
104
+- Do NOT modify existing session middleware
105
- Use jsonwebtoken library
106
- Protect all /api/v1/* endpoints except /api/v1/auth/login
107
- Token expiry: 24 hours
108
- Store user ID and role in payload
109
- Return 401 for missing/invalid tokens
-- Do NOT modify existing session middleware
110
111
112
Now the completion space is well-defined.
0 commit comments