Hi,
  OAuth is meant to solve exactly this type of problem.
    http://code.google.com/appengine/docs/python/oauth/overview.html



Robert



On Sun, Aug 28, 2011 at 02:18, b0b <[email protected]> wrote:
> HI,
>
>
> I have a separate web server running Java servlets that I want to be able to
> make authenticated request to my GAE app, using regular Google acount
> authentication.
>
> My problem is that I need  this web server to retrieve the auth token that
> allows to login to GAE and have subsequent requests authentified.
> There's no problem doing that if the user enters is Google account l/p on
> the separate web server using a form. For example like documented here:
> using the ClientLogin API:
> http://krasserm.blogspot.com/2010/01/accessing-security-enabled-google-app.html
>
> However I want to avoid having doing that and instead have the user grant
> access to his Google account using the standard Google page (the one that is
> displayed with UserServiceFactory.getUserService().createLoginURL() on GAE).
> In short I'd like to have the same functionality that the createLoginURL()
> GAE API but triggered from my separate web server, to get the required auth
> token necessary for the server to do requests to the GAE app.
> From what I tried, this doesnt seem possible. The Google page whose URL is
> returned by createLoginURL() works only if the request comes from a GAE app.
>
> So my question is if it is possible for an external web server to redirect a
> user to a page for granting access this web server to make authentified
> request to GAE? Or will I have to directly ask the user for is Google
> account credentials ? Does OAuth allow such functionality ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/hXoraM1_VZwJ.
> 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.
>

-- 
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.

Reply via email to