Skip to content

Commit 0e1ebf5

Browse files
authored
CLN: Update the authentication credentials. (#267)
These auth credentials for the browser authentication flow belong to the pandas-gbq-auth GCP project. The reason for the fresh project is that this allows us to explicitly enable APIs needed for new functionality, such as the BigQuery Storage API.
1 parent 7edfc3e commit 0e1ebf5

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

docs/source/changelog.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ Changelog
66
0.10.0 / TBD
77
------------
88

9-
- This fixes a bug where pandas-gbq could not upload an empty database. (:issue:`237`)
9+
- Fix a bug where pandas-gbq could not upload an empty DataFrame. (:issue:`237`)
10+
- Update the authentication credentials. **Note:** You may need to set
11+
``reauth=True`` in order to update your credentials to the most recent
12+
version. This is required to use new functionality such as the BigQuery
13+
Storage API. (:issue:`267`)
1014

1115
Dependency updates
1216
~~~~~~~~~~~~~~~~~~

pandas_gbq/auth.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,19 @@
1717
SCOPES = ["https://www.googleapis.com/auth/bigquery"]
1818

1919
# The following constants are used for end-user authentication.
20-
# It identifies the application that is requesting permission to access the
21-
# BigQuery API on behalf of a G Suite or Gmail user.
20+
# It identifies (via credentials from the pandas-gbq-auth GCP project) the
21+
# application that is requesting permission to access the BigQuery API on
22+
# behalf of a G Suite or Gmail user.
2223
#
2324
# In a web application, the client secret would be kept secret, but this is not
2425
# possible for applications that are installed locally on an end-user's
2526
# machine.
2627
#
2728
# See: https://cloud.google.com/docs/authentication/end-user for details.
2829
CLIENT_ID = (
29-
"495642085510-k0tmvj2m941jhre2nbqka17vqpjfddtd.apps.googleusercontent.com"
30+
"725825577420-unm2gnkiprugilg743tkbig250f4sfsj.apps.googleusercontent.com"
3031
)
31-
CLIENT_SECRET = "kOc9wMptUtxkcIFbtZCcrEAc"
32+
CLIENT_SECRET = "4hqze9yI8fxShls8eJWkeMdJ"
3233

3334

3435
def get_credentials(

0 commit comments

Comments
 (0)