Skip to content

Instantly share code, notes, and snippets.

@milancermak
Created August 24, 2012 13:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save milancermak/3450666 to your computer and use it in GitHub Desktop.
Save milancermak/3450666 to your computer and use it in GitHub Desktop.
Google Web server application OAuth flow, step 1
from oauth2client.client import OAuth2WebServerFlow
flow = OAuth2WebServerFlow(client_id="some-random-hash.apps.googleusercontent.com",
client_secret="your-client-secret",
scope="https://www.googleapis.com/auth/androidpublisher")
auth_url = flow.step1_get_authorize_url(redirect_uri="http://localhost")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment