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.