GithubHelp home page GithubHelp logo

App Settings about docnow HOT 2 CLOSED

edsu avatar edsu commented on July 24, 2024
App Settings

from docnow.

Comments (2)

raffazizzi avatar raffazizzi commented on July 24, 2024

@edsu I've made some changes to the authentication flow, just in my branch:

  • if keys are not set, the app will show the home page, not the key settings page. This is because a non-setup user should still be able to land on the default home page as set by the admin (ie with instance location trends)
  • if keys are not set, login will bring to the key settings page. The save button now also attempts to login
  • to update keys users will (eventually, not yet) be able to do that from their profile page

The last point makes me think that "settings" (for now, just the keys) should actually be properties of the user rather than an app-wide setting. Although the server-side component will need just one set of keys to keep monitoring locations (and other operations), not one for each user. So who should set those keys? The admin? Do, in fact, other users need an application key to just log-in?

from docnow.

edsu avatar edsu commented on July 24, 2024

This all sounds good.

The CONSUMER_KEY and CONSUMER_SECRET key pair identifies the DocNow application. Each user will need to have an ACCESS_TOKEN and ACCESS_TOKEN_SECRET key pair so that the application can collect data on their behalf (using their quota).

I'm definitely open to ideas for where to store these keys and how to make them available from the API as long as those constraints hold.

from docnow.

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.