Probably OAuth, though I'm not sure how that will work with a gadget. In most places gadgets will include a user ID with the makeRequest.
On Tue, Feb 23, 2010 at 12:23 PM, Thomas Schnocklake < thomas.schnockl...@googlemail.com> wrote: > Thank you for your answer. > > So what would you suppose to use for authentication for a gadget that is > places in google apps (e.g. gmail, google sites ) ? > > thanks > > thomas > > 2010/2/18 Ikai L (Google) <ika...@google.com> > >> Yes, this seems to make sense. Being logged into Google Apps is >> independent of being logged into an App Engine application. They don't use >> the same cookie. App Engine's User service allows you to use Google logins, >> but not the Google Apps session. >> >> On Tue, Feb 16, 2010 at 3:29 AM, tsschnoc < >> thomas.schnockl...@googlemail.com> wrote: >> >>> Hello, >>> >>> I use App Engine in my Google Apps domain and restricted the >>> authentification of app >>> engine to my apps domain. (see >>> http://code.google.com/appengine/articles/auth.html >>> ) >>> I developed a widget and use this in multiple accounts of my google >>> apps domain. >>> When i switch from one account (of my apps domain) to the other, the >>> former account is displayed in the widget (Java: >>> request.getUserPrincipal().getName() ). >>> >>> So the gadget placed on my Google Apps Inbox displays data of a user >>> different to the user logged in to google apps. >>> >>> I noticed that the problems goes away when i wait some minutes >>> ( session expiration ?? ). >>> >>> see picture: >>> >>> http://picasaweb.google.com/lh/photo/QDcR2Lgk2xI2-UQ77BoGXw?feat=directlink >>> >>> -- >>> 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 >>> google-appengine-j...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/google-appengine-java?hl=en. >>> >>> >> >> >> -- >> Ikai Lan >> Developer Programs Engineer, Google App Engine >> http://googleappengine.blogspot.com | http://twitter.com/app_engine >> >> -- >> 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 >> google-appengine-j...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/google-appengine-java?hl=en. >> > > -- > 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 > google-appengine-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > -- Ikai Lan Developer Programs Engineer, Google App Engine http://googleappengine.blogspot.com | http://twitter.com/app_engine -- 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 google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.