warpgate icon indicating copy to clipboard operation
warpgate copied to clipboard

Session cookies not shared between subdomains when external_host is set to a subdomain

Open vjmax opened this issue 4 months ago • 2 comments

We hosting Warpgate on:

https://test1234.warp.work.gd/

My config includes:

external_host: test1234.warp.work.gd

I also created an HTTP target bound to:

git.test1234.warp.work.gd

Problem: When I log in at https://test1234.warp.work.gd and then visit https://git.test1234.warp.work.gd, I’m asked to log in again. I expected the session cookie to work across both, since I already set external_host in the config.

Why is the session not shared between these domains, even though external_host is set? Can you please provide the solution for this.

vjmax avatar Aug 21 '25 08:08 vjmax

@Eugeny any solution for this ?

vjmax avatar Sep 04 '25 03:09 vjmax

I have the same issue on my side, trying this patch to see if it helps: https://github.com/warp-tech/warpgate/pull/1476

alistarle avatar Oct 21 '25 13:10 alistarle