Open cheungseol opened 7 years ago
The API can be used in a background page, extensions page, options page or popup page, but not in a content script.
add "permissions": ["identity"] to manifest.json.
Chrome App User Authentication
chrome.identity
The API can be used in a background page, extensions page, options page or popup page, but not in a content script.
add "permissions": ["identity"] to manifest.json.
参考
Chrome App User Authentication
chrome.identity