latest google-auth-oauthlib while keeping code_verifier enabled

This commit is contained in:
Jay Lee
2019-10-17 13:35:42 -04:00
parent 9f1dcc4c9f
commit 79c62d86cc
2 changed files with 2 additions and 2 deletions

View File

@@ -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