jupyter / jupyter/notebook

Missing option to set Access-Control-Allow-Headers option

Open
#2,467 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

The Jupyter notebook module has the option `--allow_origin` which allows you to set the `Access-Control-Allow-Origin` header. However, the `Access-Control-Allow-Headers` header is missing. This results in the `X-XSRFToken` header being rejected for XHR requests, meaning that connecting from a notebook frontend hosted on another server still does not work.

There should be an option to enable the `X-XSRFToken` header under `Access-Control-Allow-Headers`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.