SwissDataScienceCenter / amalthea

A kubernetes operator for spawning and exposing interactive user session servers.
Apache License 2.0
14 stars 4 forks source link

Authentication for anonymous users #637

Closed olevski closed 3 weeks ago

olevski commented 1 month ago

This is to replicate the functionality of the old amalthea where you can specife a random token and then only a person with this token can access the session.

In the old amalthea this was achieved through jupyter server. In this case I think we will have to write something in go to do this. I.e. expect a token as a query parameter on the url to the session and/or in an authorization header. Then if the token that is provided matches we create a cookie and use that.