Join Nostr
2026-01-17 13:27:23 UTC

Mitch Downey :pci: on Nostr: I was showing my brother how to do some agentic development, and it went great, ...

I was showing my brother how to do some agentic development, and it went great, except for one notable problem.

We were adding a Login page to a website. The auth endpoints were already written. It generated the form, and made the request to the endpoint, and logged-in…

But the HttpOnly cookie wasn’t set in the browser. So we asked LLM for help debugging.

The solution it wrote was to return the JWT as a token in the browser, then set it in a cookie on the client-side ☠️