Skip to content

Commit

Permalink
jupyter-health: remove references to self
Browse files Browse the repository at this point in the history
these are hooks, not methods
  • Loading branch information
minrk committed Dec 6, 2024
1 parent a51fb29 commit d0cbcad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/clusters/jupyter-health/common.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jupyterhub:
if not auth_state:
return auth_state
access_token = auth_state["access_token"]
url = urlparse(self.authorize_url)
url = urlparse(authenticator.authorize_url)
org_url = f"{url.scheme}://{url.netloc}/api/v1/users/organizations"
organizations = await authenticator.httpfetch(
org_url,
Expand All @@ -104,7 +104,6 @@ jupyterhub:
spawner.log.warning(f"Missing auth state for user {spawner.user.name}")
return
spawner.environment["JHE_TOKEN"] = auth_state["access_token"]
spawner.environment["JHE_CLIENT_ID"] = self.client_id
c.Spawner.auth_state_hook = auth_state_env
Expand All @@ -125,6 +124,7 @@ jupyterhub:
GH_SCOPED_CREDS_CLIENT_ID: Iv23lilZjNoav2oWKdPJ
GH_SCOPED_CREDS_APP_URL: https://github.com/apps/jupyter-health-demostration-hub
JHE_URL: https://jhe.fly.dev
JHE_CLIENT_ID: Ima7rx8D6eko0PzlU1jK28WBUT2ZweZj7mqVG2wm
image:
name: quay.io/jupyterhealth/singleuser-premvp
tag: "latest"
Expand Down

0 comments on commit d0cbcad

Please sign in to comment.