-
Notifications
You must be signed in to change notification settings - Fork 31
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
Oauth support #48
base: master
Are you sure you want to change the base?
Oauth support #48
Conversation
See the following instructions for how to use this module. https://github.com/HazyResearch/mindbender/blob/oauth-support/auth/README.md |
First of all, thanks for sharing this high-quality code. I also want auth support in mindbender, but some parts of this PR feel like an overkill. Here are my questions:
|
You're right that this could be improved in several ways. It's the quickest thing we could come up with, and I thought I'd separate it out from the other changes we're making in case you are interested in picking it up and enhancing it. There are definitely a few things you might want to change.
|
Is it difficult to simply have a switch in the config file for oauth? Chris On Sun, Sep 20, 2015 at 6:07 PM Raphael Hoffmann notifications@github.com
|
Just to second @netj and @chrismre,
|
Confirmed: anonymous users can bypass this middleware and successfully query the ES proxy (even if the request has not csrftoken cookie). I'm not familiar with nodejs enough to fix it. |
@netj Added basic support for authentication and authorization. If you have time, you might want to look if you want to integrate this into Mindbender.