gpt4 book ai didi

authentication - 我可以在获取 chrome 身份 token 之前选择用户吗?

转载 作者:行者123 更新时间:2023-12-04 04:30:56 29 4
gpt4 key购买 nike

<分区>

我正在开发适用于 Gmail 的 Chrome 扩展程序,并且为了通过 google 帐户登录,我使用 chrome.identity.getAuthToken 来获取 auth_token

chrome.identity.getAuthToken({'interactive': false},
googlePlusLoginCallback)

当用户只有一个 Gmail 帐户时它工作正常。

但是在用户有多个gmail账户的场景下(比如私有(private)账户和公司账户),api只使用主账户来请求auth_token;是否可以让用户在请求 auth_token 之前选择他们的帐户?

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com