Redirect Loop when using subdomains #15708
-
I have coder installed locally in talos kubernetes and have a port forward done in kubernetes so i can access it for testing in the browser. This works and i can login. But when I want to access a app that has subdomain = true enabled (in this cas kasm vnc), then i get a redirect loop. It seems like http://kasm-vnc--main--test--test.kasm/ is not sending any cookie even after it was redirected to authentication. How can the Domain be set to a wildcard? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Have you set |
Beta Was this translation helpful? Give feedback.
It looks like your browser is blocking setting the cookie. The Origin setting the cookie is
kasm-vnc--main--test--test.kasm
, and the cookie domain iskasm
, which I would expect to be allowed, sincekasm
is the parent domain. However, this isn't allowed if the parent domain is a "public" domain like.com
or.co.uk
. I wonder whetherkasm
is being rejected because it's being used as a TLD in this case? You might try with something likecoder.kasm
and*.coder.kasm
instead.