edina / nbexchange

External exchange for nbgrader
Other
6 stars 2 forks source link

Provide a more flexible authentication mechanism for a user request #172

Open ykazakov opened 1 month ago

ykazakov commented 1 month ago

Currently, the nbexchange API requests are secured with the cookie NAAS_JWT:

https://github.com/edina/nbexchange/blob/985796a553a56f4ee39f74f46ab8577a9c263728/nbexchange/plugin/exchange.py#L49

In the context of JupyterHub it would be nice to be able, instead, to authenticate request with a token.

See #148 for a concrete scenario.