Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

add access_token to useProxy check #104

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants