I think this will work

Hopefully!
pull/2/head
Hailey Clark 6 years ago
parent ad5cc5f305
commit 5e9795b51f
  1. 6
      google_auth.py

@ -15,6 +15,12 @@ config = configparser.ConfigParser()
config.read('config.ini')
app_debug = config.get("app","debug")
app = Flask(__name__)
if app_debug == '1':
app.debug = True
else:
app.debug = False
ACCESS_TOKEN_URI = 'https://www.googleapis.com/oauth2/v4/token'
AUTHORIZATION_URL = 'https://accounts.google.com/o/oauth2/v2/auth?access_type=offline&prompt=consent'

Loading…
Cancel
Save