rucio / jupyterlab-extension

Rucio Jupyterlab plugin (GSOC Project)
Apache License 2.0
7 stars 9 forks source link

JupyterHub OIDC authentication method #21

Closed goseind closed 1 year ago

goseind commented 1 year ago

This commit provides a Python class called RucioAuthenticator extended from JupyterHubs GenericOAuthenticator to fetch the access token from the auth_state of the user, request a new refresh token, and place it into the spawners environment for the extension to access. It also provides the rest of the helm config for the setup.

ref #20

goseind commented 1 year ago

@bari12 I've drafted a brief guide on how our setup is configured. It should be simple to understand. I plan to create a more detailed guide for the Rucio documentation later on.

Also, could you add @egazzarr and @garciagenrique to this repo?

bari12 commented 1 year ago

Hi @goseind I added @egazzarr and @garciagenrique to the rucio-dev team. For me the doc looks good (Might need some adaption later on once we change some of the token things) - Can you have a look on the failing tests please.

Thanks!

garciagenrique commented 1 year ago

Looks fine to me, thanks @goseind for this feature !

bari12 commented 1 year ago

Looks good to me too! Thanks everyone. I'll merge it like this. The failing tests in #22 still need to be fixed, but since this is more doc related anyway, it shouldn't really matter.