Skip to content

Conversation

djeeg
Copy link

@djeeg djeeg commented Jun 2, 2020

No description provided.

@ian-r-rose
Copy link
Member

Thanks @djeeg, is there an issue you are trying to fix here? This request (just checking for the proxy) shouldn't need authenticated access.

@djeeg
Copy link
Author

djeeg commented Jun 2, 2020

oh right, the details seems to have gone missing.

quick summary of the setup:

  • jupyter hub on kube
  • connecting to gh enterprise instance
  • using user personal token
  • each user stores accessToken in extension config

if i burn this config into the notebook config py:

and set extension config per user to be:

  • accessToken = user's personal access token

on call to _apiRequest

an alternative way to solve this, could be to have a separate service-side route just for the proxy test, that was a no-op and just returned "ok" or something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants