我做了一个函数,通过javascript和firebase使用google my business API自动向Google发布我的业务。访问令牌是通过使用Google登录进行身份验证获得的。但是,访问令牌有到期日期,因此我必须使用刷新令牌对其进行续订。在这种情况下,我可以使用下图中显示的"user.refreshToken“作为<em
遵循googleapi文档https://developers.google.com/sheets/api/quickstart/nodejs,找不到通过oauth2客户端使用刷新令牌来获取新令牌的方法"The application should store the refresh token for future use and use the access