首页 文章

在Cloud Functions中为服务 - 服务身份验证生成访问令牌

提问于
浏览
0

我正在尝试在 Cloud 功能和 Cloud endpoints 之间 Build 服务 - 服务身份验证 .

我正在尝试将Firebase Cloud 功能中的HTTP请求发送到我在Google App Engine上运行并由Google Cloud Endpoints管理的API .

如Google文档中所述,Firebase Cloud 功能使用的服务帐户是____@cloudservices.gserviceaccount.com

我在openAPI配置( Cloud endpoints )的安全定义中添加了issuer . 但是,我找不到在该服务帐户的 Cloud 功能中创建访问令牌的方法 .

How can I generate an access token in Cloud Functions to authenticate itself to Cloud Endpoints? 我如何在 Cloud 功能上签署JWT到request an access token

1 回答

相关问题