Is it possible to get in a notebook the email address (=Google user principal) of the currently logged in user when using the GoogleOAuthenticator?
Retrieve user email address in notebook when using GoogleOAuthenticator
It looks like the email address is included by default in
To access it you’ll need to turn on
auth_state, and configure the spawner to pass the email to the spawned container as an environment variable (or some other method).
Oh thanks! I had only skimmed over that part of the documentation…
Let me see if I can wrap my head around it and understand how to make it work.
Seems relatively straight forward.