6 Commits

Author SHA1 Message Date
Thigazhezhilan J
02922adc9a Fix reconnect broker: share session cookie across subdomains
Frontend (app.quantfortune.com) fetches API (api.quantfortune.com).
With SameSite=Lax the browser won't send the cookie on cross-origin
fetch calls, so the server sees no session and the request fails.

Adding COOKIE_DOMAIN=.quantfortune.com makes the cookie valid for
all subdomains. Mohan needs to add this to .env and restart.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 23:31:46 +05:30
Thigazhezhilan J
74d8db1de0 Revert "Fix cross-subdomain cookie: add COOKIE_DOMAIN support"
This reverts commit c85fae2d07e04dd3b62ffb7d665de763f21de747.
2026-05-20 23:26:04 +05:30
Thigazhezhilan J
c85fae2d07 Fix cross-subdomain cookie: add COOKIE_DOMAIN support
Session cookie was scoped to api.quantfortune.com only.
Setting COOKIE_DOMAIN=.quantfortune.com in .env makes the
cookie shared across all subdomains so app.quantfortune.com
can authenticate against api.quantfortune.com.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-20 23:23:30 +05:30
Thigazhezhilan J
519addd78f Harden backend auth, execution safety, and market session logic 2026-04-08 22:02:24 +05:30
Thigazhezhilan J
7677895b05 thigal_test 2026-03-22 14:37:33 +05:30
thigazhezhilan
53be845b6e Backend full repo clean 2026-02-01 13:57:30 +00:00