简体   繁体   English

Google Apps Domain的Google App Engine授权

[英]Google App Engine authorization with Google Apps Domain

I have successfully followed the examples to gain an AuthSub token to authorize my GAE application to have access to the user's Google Calendar. 我已经成功地遵循了示例,获得了AuthSub令牌,以授权我的GAE应用程序有权访问用户的Google日历。

I have added the domain parameter to the method gdata.auth.generate_auth_sub_url so that the application is authenticated against a Google Apps Domain user. 我已将domain参数添加到方法gdata.auth.generate_auth_sub_url中,以便针对Google Apps Domain用户对应用程序进行身份验证。 The app is then installed in one of our test domains. 然后,该应用程序将安装在我们的测试域之一中。

This is working fine, however, each user in the domain has to go through the process of authorizing the app to use the calendar. 一切正常,但是,域中的每个用户都必须经过授权应用程序使用日历的过程。 In other Marketplace Apps that I have tried, this authorization is done once for the whole domain when the app is installed. 在我尝试过的其他Marketplace应用中,安装该应用后,会对整个域执行一次授权。

How is this achieved? 如何实现的?

本页介绍Marketplace应用如何代表用户访问gdata API。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM