Instantly share code, notes, and snippets.

Embed
What would you like to do?
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