Updated June 2024: added more options to config file
Quick reference on how to deploy the Github Authenticator in JupyterHub, the main reference is the Zero to JupyterHub docs.
For maintaining the single-user image used by this setup, the easiest path is the custom template where you only update requirements.txt and let GitHub Actions rebuild and publish.
First create a Oauth app on Github, see under “Settings” and “Developer options”, set your Hub Callback url, see for example the configuration file below.
Save this configuration file as config_github_auth.yaml following the template available on Github
See the comments in the file for other interesting configuration options, and check the OAuthenticator documentation for more.
Add the configuration file to the helm upgrade --install call as --values config_github_auth.yaml, you can have multiple --values arguments.