Sam
Sam

Reputation: 1809

using Oauth to access app engine pull queue from non app engine server

I am trying to access my app engine applications pull queue from a separate python application. Here's what I know:

I'm able to make a request to get a task from the pull queue, but it gives me an error saying Login Required because I haven't authenticated. I have looked through the documentation (rest api doc, pull queue doc), but i can't figure out how to pass in my username and password to authenticate with oauth.

Upvotes: 1

Views: 301

Answers (2)

systempuntoout
systempuntoout

Reputation: 74134

Use the google-api-python-client library.
It has a sample to access the TaskQueue APIs through Oauth2 authentication.

Upvotes: 2

Mark S.
Mark S.

Reputation: 4017

Have you read the OAuth for Python overview for AppEngine? It goes over how to do the OAuth login for App Engine.

Upvotes: 0

Related Questions