Closed rstecker closed 11 years ago
which API endpoint are you hitting? i think we can just whitelist some endpoints in the config.
It has been suggested that I just turn auth off since it's already only running over the VPN.
I was told to look at require_auth
in the config.js
but I don't see require_auth
being looked at anywhere...
I see authorized_users
being set to something, should I instead just... delete that or something?
require_auth is yet unimplemented. i'll add that feature in shortly.
actually, looking at it more. how does an endpoint that lets you run queries and get results programatically, work?
that's easier than removing the requirement that everyone has a user account, but both are doable.
Running queries and getting results sounds awesome! That's what I was hoping I was going to be able to do with something like query/download?table=vdio/session_qos&view=samples&start=-1%20hour&end=Now
Or view=table
. Seems like everything I would have wanted, except I was tripped up by the auth....
Whatever is easiest is fine by me.
https://github.com/okayzed/snorkel/commit/4dfa32fedacc36978f8a7c245276bfdbe0931f4d
(make sure to edit your config.js to set no_auth_api: true)
The new no_auth_api is working great. Am happily pulling down data now and making my own pretty graphs
Hey Okay,
Trying to use Snorkel data on an admin page. Can't do an un-authed pull. Makes me sad.
Any suggestions? I can't even auth the user from within the admin page, can I?