且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Google Apps电子邮件迁移API是否支持2条腿的oAuth?

更新时间:2023-12-04 13:27:52

范围是:

https://apps-apis.google.com/a/feeds/migration/

您错过了代码中的最后一个/.另外,如果您使用的是Google Apps域的主OAuth密钥(密钥是主域),但要迁移到辅助域用户,则需要手动授予对所有域的OAuth主密钥访问权限,或者设置第三方OAuth客户端. Google的Exchange迁移工具的管理指南介绍了该工具的配置方式:

your missing the last / in your code. Also, if you're using the Google Apps domain's primary OAuth key (the key is the primary domain) but you're migrating to a secondary domain user, you'll need to either manually grant the primary OAuth key access to all domains or setup a 3rd party OAuth client. The Admin guide for Google's Exchange migration tool covers how this is configured:

查看全文