Comments (2)
@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.
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)
- create introductory paragraph
- make locally look like cloud
- Troubleshooting page
- restructure directory
- No login button on mobile HOT 1
- stream-loader and url-fetcher can become unresponsive HOT 3
- Ignoring retweets in data collection
- Add #docnow hashtag to collection tweet
- Searching fails for non-academic keys HOT 1
- Delete of Search with consent actions fails
- View counts (images & video)
- No tracking JavaScript
- Tweet out message not including all terms
- Remove action card on Insights view HOT 1
- Public Collection - Find Me messaging incorrect
- 404 page
- Callback URL error HOT 5
- Explore page - explain that 1000 only goes back 7 days
- @users search not working, and #hashtag search only works sometimes HOT 1
- administrators should not see "account awaiting activation" message
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docnow.