Skip to content

Missing crossorigin="use-credentials" to manifest.json link for basic auth #1212

Description

@jmbarbier

This issue is a duplicate from microsoft/vscode#86541 as i don't really know where this can be solved.

  • VSCode Version: latest from codercom/code-server:v2
  • OS Version: browser (Chrome)

Serving codercom/code-server:v2 VSCode behind a reverse proxy with basic auth managed by proxy works well; everything is OK but manifest.json gets a 401 Unauthorized on Chrome

It appears that at least for Chrome, we need to add <link rel="manifest" href="manifest.json" crossorigin="use-credentials"> in order for Chome to pass auth headers for manifest retrieval.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions