I am looking at http://code.google.com/intl/sv-SE/apis/gdata/docs/auth/authsub.html and http://code.google.com/intl/sv-SE/appengine/articles/java/retrieving_gdata_feeds.html.
My code looks like this to generate the 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);
The generated url looks like this
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
Looks good.. However when i follow the URL i am told something along the lines of
"http://appspot.com" is not registered.
(i get it in swedish :)
What could be wrong here?