Skip to content

Instantly share code, notes, and snippets.

@tommynyquist
Created October 4, 2013 22:22
Show Gist options
  • Save tommynyquist/6833825 to your computer and use it in GitHub Desktop.
Save tommynyquist/6833825 to your computer and use it in GitHub Desktop.
chrome.identiy interactive auth
chrome.identity.getAuthToken({ 'interactive': true }, function() {
if (!chrome.runtime.lastError) {
console.log("requestAuthorization: Authorized");
authorized();
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment