diff --git a/google_auth.py b/google_auth.py index d500c60..2021537 100755 --- a/google_auth.py +++ b/google_auth.py @@ -17,8 +17,8 @@ config = configparser.ConfigParser() config.read('config.ini') app_debug = config.get("app","debug") -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' +ACCESS_TOKEN_URI = 'https://oauth2.googleapis.com/token' +AUTHORIZATION_URL = 'https://accounts.google.com/o/oauth2/v2/auth' AUTHORIZATION_SCOPE ='openid email profile'