Giter VIP home page Giter VIP logo

Comments (4)

antoinefalisse avatar antoinefalisse commented on July 17, 2024

@suhlrich another thing that Matt told me about. Currently, you need to authenticate independent of what data you want to download. So even if the session is public, you need to authenticate. Is this how we would like to proceed or do we want to check if the session is public before asking for authentication? I first thought we would want the second option, but actually having people authenticate in any case and allow them to download data from public session probably makes more sense. Let me know what you think.

from opencap-processing.

suhlrich avatar suhlrich commented on July 17, 2024

Hmm. I just checked and you can successfully make a request to a public session if you do not include the authorization header. It wouldn't be hard to implement, if session is public, set the auth token as None, and have a bunch of if statements around every request in the repo. Happy to do it if you think it is super helpful. I doubt that many people will go thru the effort of messing with a python notebook (rather than web-based plotting) if they don't have intentions of collecting data.

I'm fine with either. Your call.

from opencap-processing.

antoinefalisse avatar antoinefalisse commented on July 17, 2024

It is kinda nice to "force" people to create an account to download data? If they do not want to, then there is the dashboard for visualizing data. All this wiring for this specific case does not seem like a high level priority.

from opencap-processing.

suhlrich avatar suhlrich commented on July 17, 2024

from opencap-processing.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.