GAE-GWT login

59 views
Skip to first unread message

and_16

unread,
Jun 9, 2011, 5:24:25 PM6/9/11
to Google App Engine
Hello everyone i'm new at google app engine and ive been trying to
make a really basic login using GWT , ExtJs .Unfortunately there is no
documentation nor tutorials on how to do it, there is just one login
tutorial on GAEs web but the login authentification is with a gmail
adress and im
trying to make one for a lot of differents usernames.
Whatever help you can give it would be very nice thanks a lot .

Ernesto Oltra

unread,
Jun 10, 2011, 3:59:16 PM6/10/11
to google-a...@googlegroups.com
Notice Google Accounts doesn't means **GMail** accounts, the Users API can handle hotmail, yahoo or whatever e-mail address they have.

Generate a URL using this:

UserService userService = UserServiceFactory.getUserService();
String url = userService.createLoginUrl("http://example.com/page-to-return");

Then you can send the url through a RPC call, or better!, insert it into the page:
Reply all
Reply to author
Forward
0 new messages