Created
August 24, 2012 13:44
-
-
Save milancermak/3450666 to your computer and use it in GitHub Desktop.
Google Web server application OAuth flow, step 1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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