Hi, I've solved my problem, so I just explain the way I do it : (You have to have a Google Apps domain : in my case, mydomain.com.)
- Go to https://appengine.google.com/a/mydomain.com/ and register to the appengine service - Create a new application, named myapp : its url is myapp.appspot.com - On your Google Apps dashbord, click "Add services" -> Other services -> Google App Engine : Enter your app id, here myapp - Accept conditions - When the app is added, click "Add an URL" and give any URL you want in your domain : here, i give the url "test.mydomain.com" - Follow the steps to create the CNAME record - Now, you can deploy your app, using domain login and logout URL as is : userService.createLoginURL("http:// test.mydomain.com","mydomain.com"); userService.createLogoutURL("http:// test.mydomain.com","mydomain.com"); This will provide you urls to domain-specific login/logout boxes. Hope this could be usefull... Regards. On Mar 23, 11:46 am, Damien Picard <[email protected]> wrote: > Hi, > > I'm trying to deploy a GWT/GAE application with Google Authentication, > via UserService. My application allows to login and logout from my > Google accounts, and now, I want to login/logout with my Google Apps > domain accounts (and, at the end, deploy this app on Apps > MarketPlace). > > To do this, i've deployed my app on GAE, created a vendor account on > MarketPlace, and created a listing for my application. I've added my > application to my domain, but when I want to connect with a domain's > account, it is not possible : the only way to connect is to use a > standard account. > > Then, on my GAE apps, i've added the domain as : > > UserService userService = UserServiceFactory.getUserService(); > return userService.createLoginURL("http:// > myapp.appspot.com","mydomain.com"); > > But this doesn't change anything. I've see on the doc that this > function is : > "For trusted apps only. If the calling app does not have permission to > use this feature..." > > So my questions are : > Could I use UserService to authenticate on a domain ? > How can I trust my GAE apps in order to use these functions ? > > Thank you. -- Damien Picard Axeiya Services : http://axeiya.com/ gwt-ckeditor : http://code.google.com/p/gwt-ckeditor/ -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
