Simple OAuth 2.0 Flow This is a sample web application implementing the Authorization Code grant type of OAuth 2.0. It requests read-only access to your Google Drive files. oauth.py Uses raw HTTP requests to interact with Drive API. oauth-sdk.py Uses Google's Python API Client Library.