找到你要的答案

Q:How to get Auth Token from gmail logged-in account??

Q:如何从Gmail登录账户获得认证令牌??

I am building an extension for gmail. I need the access token to add data in spreadsheets. Chrome provides chrome.identity.getAuthToken for this but it returns token associated with chrome account which can be different than the gmail account user has logged in.

我的Gmail扩建。我需要在电子表格中添加数据的访问令牌。Chrome提供了chrome.identity.getauthtoken这但它返回令牌与Chrome账户可不同于Gmail账户的用户已经登录相关。

google-chrome  google-chrome-extension