tools.run_flow does not use OAuth2WebServerFlow redirect_uri property

Bug #1983216 reported by Adam Kessel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-oauth2client (Ubuntu)
New
Undecided
Unassigned

Bug Description

Although OAuth2WebServerFlow has a redirect_uri parameter (necessary for some Google API uses), tools.run_flow ignores redirect_uri and just forces the redirect URI to the callback address. Also reported upstream here https://github.com/googleapis/oauth2client/issues/317 , but it appears the project is deprecated and won't be fixed upstream. Could the library be patched for Ubuntu so it is possible to specify redirect_uri when invoking via tools.run_flow?

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: python3-oauth2client 4.1.3-2
ProcVersionSignature: Ubuntu 5.15.0-41.44-generic 5.15.39
Uname: Linux 5.15.0-41-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sun Jul 31 15:05:16 2022
InstallationDate: Installed on 2019-08-06 (1090 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python-oauth2client
UpgradeStatus: Upgraded to jammy on 2022-06-11 (49 days ago)

Revision history for this message
Adam Kessel (adam-rosi-kessel) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.