Skip to content

Commit

Permalink
Merge pull request #1088 from burnash/bugfix/oauth_from_dict
Browse files Browse the repository at this point in the history
Fix documentation about `oauth_from_dict`
  • Loading branch information
lavigne958 committed Jul 15, 2022
2 parents 85e75ad + 6980f7d commit 6d52365
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions docs/oauth2.rst
Expand Up @@ -188,14 +188,12 @@ manager.
import gspread

credentials = {
{
"installed": {
"client_id": "12345678901234567890abcdefghijklmn.apps.googleusercontent.com",
"project_id": "my-project1234",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
...
}
"installed": {
"client_id": "12345678901234567890abcdefghijklmn.apps.googleusercontent.com",
"project_id": "my-project1234",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
...
}
}
gc, authorized_user = gspread.oauth_from_dict(credentials)
Expand Down

0 comments on commit 6d52365

Please sign in to comment.