关于GAE的AuthSub nextURL

我在看 http://code.google.com/intl/sv-SE/apis/gdata/docs/auth/authsub.html 和 http://code.google.com/intl/sv-SE/appengine/articles/java/retrieving_gdata_feeds.html。 我的代码看起来像这样生成URL
String nextUrl = "http://myapp.appspot.com/retrieveToken/";
String scope = "http://www.google.com/calendar/feeds/";
boolean secure = false;  // set secure=true to request secure AuthSub tokens
boolean session = true;
String authSubUrl = AuthSubUtil.getRequestUrl(nextUrl, scope, secure, session);
生成的url看起来像这样
https://www.google.com/accounts/AuthSubRequest?next=http%3A%2F%2Fmyapp.appspot.com%2FretrieveToken%2F&scope=http%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds%2F&secure=0&session=1
看起来不错.. 但是,当我按照URL时,我被告知了一些问题
"http://appspot.com" is not registered.
(我在瑞典语中得到它:) 这可能有什么问题?     
已邀请:
这很奇怪,因为你选择了
secure = false
,所以你不必注册申请(你的网址中有
secure=0
)。但我觉得这是一个与
*.appspot.com
域名相关的问题,因为如果你把ѭѭ改为其他任何东西,让我们说
"http://myapp.randomDomainHjYHBB4F.com/retrieveToken/"
,新的URL是:
https://www.google.com/accounts/AuthSubRequest?next=http%3A%2F%2Fmyapp.randomDomainHjYHBB4F.com%2FretrieveToken%2F&scope=http%3A%2F%2Fwww.google.com%2Fcalendar%2Ffeeds%2F&secure=0&session=1
......它有效!这不是很好奇吗? 所以我不能告诉你什么是错的,但有一个简单的解决方法:你可以注册你的应用程序并切换到安全模式!     

要回复问题请先登录注册