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

add warning about deprecated authentication flow #1044

Closed
lavigne958 opened this issue May 5, 2022 · 0 comments · Fixed by #1047
Closed

add warning about deprecated authentication flow #1044

lavigne958 opened this issue May 5, 2022 · 0 comments · Fixed by #1047
Assignees
Labels
Milestone

Comments

@lavigne958
Copy link
Collaborator

Overview

Add a warning for the user that the authentication flow console_flow is now deprecated by google oauth API.

Details

As pointed by the issue #1032 the console_flow to authenticate using OAUTH2.0 is now deprecated and will result in an error.

As of today we can't just remove it from gspread, we first need to inform all users with an user friendly message.

message should mention: this method has been deprecated, this authentication flow has been deprecated, provide the alternative authentication flow name local_server_flow, provide the URL to the google developers web page:
https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob

@lavigne958 lavigne958 added the Bug label May 5, 2022
@lavigne958 lavigne958 added this to the 5.4.0 milestone May 5, 2022
@lavigne958 lavigne958 self-assigned this May 5, 2022
lavigne958 added a commit that referenced this issue May 11, 2022
The oauth flow `gspread.auth.console_flow` has been deprecated by
google. It will simply not succeed.

Currently: add a warning for the end-user about this changes.
Later: remove the deprecated method.

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

Successfully merging a pull request may close this issue.

1 participant