Hi, I'm trying to enable SSO for my App Engine app in order to put it on the Google Marketplace. Let's say that I have my GAE app running at www.example.com. When I publish it to the Google Marketplace, a Google Apps user (say [email protected]) will be able to click on a link in the Google menu pointing to my site - something like this: http://www.example.com/home?from=google&domain=domain1.com
Now, acording to this docu (http://code.google.com/appengine/docs/java/ users/overview.html) I should use the Users API to authenticate the user. I assume I have to use userService.createLoginURL method somehow and use the domain "domain1.com" (which is passed as a parameter to my / home servlet). I have tried something like this: Set<String> attributesRequest = new HashSet<String>(); attributesRequest.add("openid.mode=checkid_immediate"); attributesRequest.add("openid.ns=http://specs.openid.net/auth/2.0"); attributesRequest.add("openid.return_to=" + thisUrl); userService.createLoginURL(thisUrl, "domain1.com", "https:// www.google.com/accounts/o8/id", attributesRequest); The probem is that the login URL which I get works for google accounts only (like gmail accounts) - I do not get any Google Apps page where a user like [email protected] could login :( Does anybody know how I can get this working ? Or am I on the wrong track ? Many thanks for the help !! Daniel -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
