本文介绍了Google Apps Marketplace API客户使用OAuth2的许可的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在将我们的 Google Apps Marketplace应用迁移到OAuth2身份验证.

我们发现了迁移过程中的一些差异,例如将 OAuth1两足式身份验证替换为服务帐户OAuth2策略,以模拟域并执行一些后台任务. /p>

在当前的OAuth1应用中,我们对 customerLicense 服务进行了一些查询,以检查某些域是否已将我们的应用从Marketplace中删除.

我已经知道目前无法使用OAuth2进行此操作.是否有任何带有服务帐户OAuth2的服务替换了此机制,以检查特定应用程序的customerLicense?

由于我仅使用服务帐户密钥,因此没有找到有关如何使用这些类型的凭据使用此API的文档.实际上,文档说只有Oaurh两个有腿的键才能使用此API.

您可以给我发送一些链接,以便我阅读有关使用服务帐户密钥使用此API的信息吗?

最好

解决方案

您应该可以使用与OAuth2相同的API .如果有任何问题,请告诉我们.

We are migrating our Google Apps Marketplace Apps to OAuth2 authentication.

We have figured out some of difference in migration process such as replace OAuth1 two-legged authentication with Service Account OAuth2 strategy to impersonate domain and perform some background task.

In our current OAuth1 apps we have some queries to customerLicense service to check if some domain removed our App from Marketplace.

I have seen this is not possible to do with OAuth2 by the moment. Is there any Service with Service Account OAuth2 that replace this mechanism to check customerLicense for a specific Application?

Since I am using only service account keys I have not found documentation about how to consume this API with these type of credentials. In fact documentation says only Oaurh two legged keys are able to consume this API.

Can you send me some link where I can read about consuming this API with service account Keys?

Best,

解决方案

You should be able to use the same API with OAuth2. If there are any issues please let us know.

这篇关于Google Apps Marketplace API客户使用OAuth2的许可的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-24 18:01
查看更多