google-photos - 谷歌照片集成问题
问题描述
为了在 android 中实现谷歌照片 API,登录过程已经通过 firebase 完成,并且从登录过程中检索到的授权令牌被用作谷歌照片 API 中的标头。但在执行过程中,收到 401 状态码,响应如下: { "error": { "code": 401, "message": "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or其他有效的身份验证凭据。请参阅https://developers.google.com/identity/sign-in/web/devconsole-project。, "status": "UNAUTHENTICATED" } } 我如何才能收到此过程的正确授权码?
解决方案
推荐阅读
- python-3.x - Django:无法访问此站点:localhost 拒绝连接
- python - 将 python 文件作为模块从另一个 python 文件导入
- hash - 有人可以详细说明其公钥和签名包含在区块链的交易中吗?
- excel - VBA excel中的千位和小数分隔符
- postgresql - 从两个时间戳获取小时和分钟的函数
- rust - 如何在 BinaryHeap 的比较函数中使用外部数据结构?
- javascript - TypeScript - ts(7053):元素隐式具有“任何”类型,因为“字符串”类型的表达式不能用于索引
- arrays - 将索引公式向下拖动行并更改返回列
- c# - 如何在 EF Core 中转换字符串 Npgsqldate
- r - 将总计行和/或列附加到 R 中的 data.frame