Skip to content

Conversation

@FrankPetrilli
Copy link
Contributor

Describe in detail the problem you had and how this PR fixes it

I run code-server behind an authenticating Kubernetes Ingress which sets a cookie after a successful login is performed. Since this cookie is not set when fetching the manifest, the fetch fails and gets redirected to the authentication page, breaking code-server completely.

Adding this attribute to the link tag causes browsers to fetch the manifest including cookies previously set. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link for more information.

Is there an open issue you can link to?

#822

I run code-server behind an authenticating Kubernetes Ingress which sets a cookie after a successful login is performed. Since this cookie is not set when fetching the manifest, the fetch fails and gets redirected to the authentication page, breaking code-server completely.

See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
@deansheather deansheather merged commit 72d7166 into coder:master Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants