Skip to content

prefer config token to $JUPYTERHUB_API_TOKEN#72

Merged
yuvipanda merged 1 commit intokbatch-dev:mainfrom
minrk:prefer-config
Sep 16, 2024
Merged

prefer config token to $JUPYTERHUB_API_TOKEN#72
yuvipanda merged 1 commit intokbatch-dev:mainfrom
minrk:prefer-config

Conversation

@minrk
Copy link
Contributor

@minrk minrk commented Sep 16, 2024

and don't persist env token to a file, which would become stale on next launch

default token won't always have access to the service, so assume if the config file exists it should be used over the not-kbatch-specific env var.

and don't persist env token to a file

default token won't always have access to the service,
so assume if the config file exists, use it over the not-kbatch-specific env var.
@yuvipanda yuvipanda merged commit 425cd3a into kbatch-dev:main Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants