chrome.identity.getAuthToken not working

前端 未结 4 1678
野性不改
野性不改 2021-02-01 23:33

I am working with Chrome Identity API, to provide users with a Google Authentication on my Chrome Extension.

I followed the official tutorial of Google : link Chrome Id

4条回答
  •  盖世英雄少女心
    2021-02-02 00:10

    If the callback in chrome.identity.getAuthToken is not firing at all for you, make sure you are using "browser_action" in your manifest.json and not "page_action".

提交回复
热议问题