{"action":"created","issue":{"url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1303","repository_url":"https://api.github.com/repos/kubeflow/kubeflow","labels_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1303/labels{/name}","comments_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1303/comments","events_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1303/events","html_url":"https://github.com/kubeflow/kubeflow/issues/1303","id":346820806,"node_id":"MDU6SXNzdWUzNDY4MjA4MDY=","number":1303,"title":"Unable to get Jupyterhub API token","user":{"login":"Silentphantom62","id":38120935,"node_id":"MDQ6VXNlcjM4MTIwOTM1","avatar_url":"https://avatars0.githubusercontent.com/u/38120935?v=4","gravatar_id":"","url":"https://api.github.com/users/Silentphantom62","html_url":"https://github.com/Silentphantom62","followers_url":"https://api.github.com/users/Silentphantom62/followers","following_url":"https://api.github.com/users/Silentphantom62/following{/other_user}","gists_url":"https://api.github.com/users/Silentphantom62/gists{/gist_id}","starred_url":"https://api.github.com/users/Silentphantom62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silentphantom62/subscriptions","organizations_url":"https://api.github.com/users/Silentphantom62/orgs","repos_url":"https://api.github.com/users/Silentphantom62/repos","events_url":"https://api.github.com/users/Silentphantom62/events{/privacy}","received_events_url":"https://api.github.com/users/Silentphantom62/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-02T00:55:47Z","updated_at":"2018-08-03T16:40:27Z","closed_at":null,"author_association":"NONE","body":"Issue: Need API access to Jupyterhub to automate creating notebooks.\r\n\r\nI setup following the minikube guide. https://www.kubeflow.org/docs/started/getting-started-minikube/\r\n\r\nI tried fetching the API token from Tokens using _Request New Token button_ I get a 403.\r\n\r\n![screen shot 2018-08-01 at 5 51 29 pm](https://user-images.githubusercontent.com/38120935/43556257-c7a1491a-95b3-11e8-9ff1-4cd73c50d3bc.png)\r\n\r\nAlso if I try the API:\r\ncurl -X GET http://<server-address.com>:<port>/hub/api/users\r\nI get\r\n{\r\n    \"status\": 403,\r\n    \"message\": \"Forbidden\"\r\n}\r\n\r\nHow do I fix this or get the Token for authenticating to Jupterhub API?"},"comment":{"url":"https://api.github.com/repos/kubeflow/kubeflow/issues/comments/410309710","html_url":"https://github.com/kubeflow/kubeflow/issues/1303#issuecomment-410309710","issue_url":"https://api.github.com/repos/kubeflow/kubeflow/issues/1303","id":410309710,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDMwOTcxMA==","user":{"login":"Silentphantom62","id":38120935,"node_id":"MDQ6VXNlcjM4MTIwOTM1","avatar_url":"https://avatars0.githubusercontent.com/u/38120935?v=4","gravatar_id":"","url":"https://api.github.com/users/Silentphantom62","html_url":"https://github.com/Silentphantom62","followers_url":"https://api.github.com/users/Silentphantom62/followers","following_url":"https://api.github.com/users/Silentphantom62/following{/other_user}","gists_url":"https://api.github.com/users/Silentphantom62/gists{/gist_id}","starred_url":"https://api.github.com/users/Silentphantom62/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Silentphantom62/subscriptions","organizations_url":"https://api.github.com/users/Silentphantom62/orgs","repos_url":"https://api.github.com/users/Silentphantom62/repos","events_url":"https://api.github.com/users/Silentphantom62/events{/privacy}","received_events_url":"https://api.github.com/users/Silentphantom62/received_events","type":"User","site_admin":false},"created_at":"2018-08-03T16:40:27Z","updated_at":"2018-08-03T16:40:27Z","author_association":"NONE","body":"@jlewi I am trying to do it but honestly I am new to Kubeflow and Kubernetes and the documentation for Kubeflow isn't very helpful rightly because of the stage the project is in at the moment.\r\n\r\nI have been trying to set this up https://github.com/kubeflow/kubeflow/tree/master/components/jupyterhub#github-oauth-setup\r\nSo that I can give it a try with github oath but I am stuck at the point where after my changes the jupyterhub page is timing out."}}
{"actor":{"display_login":"Silentphantom62"}}