Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google.oauth2 both Deprecated and Decommissioned #584

Open
chtompki opened this issue Jul 17, 2023 · 2 comments
Open

google.oauth2 both Deprecated and Decommissioned #584

chtompki opened this issue Jul 17, 2023 · 2 comments
Labels

Comments

@chtompki
Copy link

Google authentication using:

flow = Flow.from_client_secrets_file(client_secret_file, scopes=scopes,
                                                 redirect_uri='urn:ietf:wg:oauth:2.0:oob')
            auth_url, _ = flow.authorization_url(prompt='consent')

            print('Please go to this URL and finish the authentication flow: {}'.format(auth_url))
            code = input('Enter the authorization code: ')
            flow.fetch_token(code=code)
            credentials = flow.credentials

simply just doesn't work. I'm working on a fix for you using the now suggested google-auth library.

@chtompki
Copy link
Author

Trying to follow what's going on here: googleapis/google-auth-library-python-oauthlib#264

@chtompki
Copy link
Author

If we upversion to [email protected] we might be able to get it to work, though I can't figure it quite out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants