New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch OAuth details and API keys at startup #83

neocotic opened this Issue Mar 7, 2012 · 0 comments


None yet
1 participant

neocotic commented Mar 7, 2012

Instead of hard-coding (or even putting in to i18n bundles) the client_id, client_secret and any API keys I want to fetch these from another JSON file when initiating the background page.

Since this will mean that initiating URL shorteners will now be asynchronous, care should be taken to ensure code dependant on these being ready is available. One possible solution is to create an instance of utils.Runner to manage the fetching of the this information as well as information from the manifest file (e.g. version).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment