if (!OpenID.id(openId).required("email", "http://
axschema.org/contact/email").verify()) { // will redirect the user
String errorMessage = "Oops. Cannot contact OpenID
provider for " + openId;
Logger.error(errorMessage);
flash.put("error", errorMessage);
login();
}
It works fine on my local dev environment. But after I uploaded the
application to GAE, the verify call always return false. My log
prints:
play.Logger error: Oops. Cannot contact OpenID provider for
https://www.google.com/accounts/o8/id
I know AppEngine SDK supports Google account but seems it can't be
used in Play framework?
----------
From: Guillaume Bort <guillaume.b...@gmail.com>
Date: Nov 25 2009, 6:50 am
GAE.login("Application.index");
Look at the sample application (lists-with-gae).