When JupyterLab-Git is enabled, on startup, it tries to fetch a significant number of .png files, each named after a GitHub user, from github.com. Each request fails because of three cookie requests, for _gh_sess, _octo, and logged_in, all with the same text: "Cookie “[name]” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”." This produces errors in the browser console.
In the screenshot below, the GitHub usernames are redacted out of privacy concerns.
Description
When JupyterLab-Git is enabled, on startup, it tries to fetch a significant number of
.png
files, each named after a GitHub user, from github.com. Each request fails because of three cookie requests, for_gh_sess
,_octo
, andlogged_in
, all with the same text: "Cookie “[name]” has been rejected because it is in a cross-site context and its “SameSite” is “Lax” or “Strict”." This produces errors in the browser console.In the screenshot below, the GitHub usernames are redacted out of privacy concerns.
Reproduce
Expected behavior
No errors in console.
Context
Found while investigating https://github.com/jupyterlab/jupyterlab/issues/16667.