diff --git a/src/gam.py b/src/gam.py index e4607955..cc6d9258 100755 --- a/src/gam.py +++ b/src/gam.py @@ -7798,7 +7798,7 @@ def _run_oauth_flow(client_id, client_secret, scopes, access_type, login_hint=No } } - flow = ShortURLFlow.from_client_config(client_config, scopes) + flow = ShortURLFlow.from_client_config(client_config, scopes, autogenerate_code_verifier=True) kwargs = {'access_type': access_type} if login_hint: kwargs['login_hint'] = login_hint diff --git a/src/requirements.txt b/src/requirements.txt index f0a64365..d3e3a70f 100644 --- a/src/requirements.txt +++ b/src/requirements.txt @@ -4,6 +4,6 @@ filelock google-api-python-client>=1.7.10 google-auth google-auth-httplib2 -google-auth-oauthlib==0.4.0 +google-auth-oauthlib>=0.4.1 httplib2>=0.13.0 passlib