Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

verify_token always return a dict and not raise an HTTPError #77

Merged
merged 5 commits into from
Jul 11, 2016

Conversation

kitchoi
Copy link
Contributor

@kitchoi kitchoi commented Jul 11, 2016

verify_token would return a dict containing the user data from jupyterhub and the remoteappmanager would further verify the data. The dictionary is empty if authentication/authorisation fails.

HTTPError is not raised, but in the future we may want to introduce the HTTPError back again for better error message on the user's end.

@kitchoi
Copy link
Contributor Author

kitchoi commented Jul 11, 2016

Fix #62

@stefanoborini
Copy link
Contributor

I need this one merged for the async http request.

@stefanoborini
Copy link
Contributor

@kitchoi still broken.

@kitchoi
Copy link
Contributor Author

kitchoi commented Jul 11, 2016

@stefanoborini just pushed a fix as you commented :)

@codecov-io
Copy link

codecov-io commented Jul 11, 2016

Current coverage is 79.09%

Merging #77 into master will increase coverage by 0.01%

@@             master        #77   diff @@
==========================================
  Files            27         27          
  Lines           913        904     -9   
  Methods           0          0          
  Messages          0          0          
  Branches         84         83     -1   
==========================================
- Hits            722        715     -7   
+ Misses          164        163     -1   
+ Partials         27         26     -1   

Powered by Codecov. Last updated by d258338...1fefafd

@stefanoborini
Copy link
Contributor

@kitchoi good for me. please merge when green. I'll take care of the conflicts with the other branch (I still have some work to do there)

@kitchoi kitchoi merged commit 0cb8fee into master Jul 11, 2016
@kitchoi kitchoi deleted the 62-verify-token branch July 11, 2016 13:13
@kitchoi
Copy link
Contributor Author

kitchoi commented Jul 11, 2016

Thanks @stefanoborini

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.

3 participants