【发布时间】:2014-11-20 04:03:42
【问题描述】:
在 shindig 中,在 OAuth2.json 中配置 OAuth 小工具详细信息时,我们需要将 %origin% 和 %context% 作为小工具 url 和重定向 url 的一部分。
例如:
"%origin%%contextRoot%/gadgets/oauth2/oauth2_google_shared2.xml" : { “谷歌API”:{ "clientName" : "googleApi_shared_client", “allowModuleOverride”:“真” } },
"redirect_uri" : "%origin%%contextRoot%/gadgets/oauth2callback",
谁能帮我在 SHINDIG 中配置这些值,以便将这些值应用于 OAuth2.json 文件中的所有剩余条目。
【问题讨论】:
标签: oauth-2.0 opensocial apache-shindig