nebari-dev / jupyterlab-gallery

A JupyterLab gallery for presenting and downloading examples
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

`/pull` request fails due to missing `_xsrf` token #26

Closed krassowski closed 2 months ago

krassowski commented 2 months ago

In principle it should work because jupyter-server is supposed to accept the auth token which is appended by serverConnection.makeRequest in:

https://github.com/nebari-dev/jupyterlab-gallery/blob/63b55cb380f802c97e508cf345132a1572fefb6b/src/handler.ts#L17-L29

Thus this looks like a server-side issue, possibly with using plain tornado handlers over jupyter-server handlers.

krassowski commented 2 months ago

Consulting things with upstream: https://github.com/jupyterhub/jupyterhub/issues/4845