Skip to content

Commit 9d9273e

Browse files
committed
Update lesson-4-prompting-101.md
1 parent aa4d1b4 commit 9d9273e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/methodology/lesson-4-prompting-101.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@ What authentication? JWT? OAuth? Session tokens? Which endpoints?
101101

102102
```
103103
Add JWT authentication to the API:
104+
- Do NOT modify existing session middleware
104105
- Use jsonwebtoken library
105106
- Protect all /api/v1/* endpoints except /api/v1/auth/login
106107
- Token expiry: 24 hours
107108
- Store user ID and role in payload
108109
- Return 401 for missing/invalid tokens
109-
- Do NOT modify existing session middleware
110110
```
111111

112112
Now the completion space is well-defined.

0 commit comments

Comments
 (0)