You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i.e. the default share link encoded in the next parameter of the accept URL.
Describe the solution you'd like
Use the jupyterhub share-codes API to generate sharing links that grant access to the server when called from within JupyterHub.
Additional context
sharing links with a token shouldn't ever be done in a JupyterHub context, so this should be able to replace the 'with credentials' links to one that preserves proper JupyterHub authentication, when available.
There are also options to specify the scopes to be shared, expiration, etc. if they should be different from the default. UI for that gets hairy.
The text was updated successfully, but these errors were encountered:
I think #60 discussed some points that would be needed to archive this in favor of collaboration. But the lack of maintenance capacity makes sense to push forward on collaboration first, at least.
Is your feature request related to a problem? Please describe.
JupyterHub 5.0 will introduce the concept of sharing, so users can grant each other access to their server.
That PR includes an example javascript notebook and server configuration to grant JupyterLab permissions to make the necessary API requests.
Up to now, there have been two ways to share links to a shared server in jupyterhub:
With the new sharing permission, (expiring) links can be generated that grant permission without leaking credentials or bypassing anything.
A link-to-this-doc URL will look like:
i.e. the default share link encoded in the
next
parameter of the accept URL.Describe the solution you'd like
Use the jupyterhub share-codes API to generate sharing links that grant access to the server when called from within JupyterHub.
Additional context
sharing links with a token shouldn't ever be done in a JupyterHub context, so this should be able to replace the 'with credentials' links to one that preserves proper JupyterHub authentication, when available.
There are also options to specify the scopes to be shared, expiration, etc. if they should be different from the default. UI for that gets hairy.
The text was updated successfully, but these errors were encountered: