about summary refs log tree commit diff
path: root/third_party/lieer/api_client.patch
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-12-23T12·26+0100
committerVincent Ambo <tazjin@google.com>2019-12-23T12·26+0100
commit41eea96e63b9fdc9da9895093a0ae65013cf06d2 (patch)
treecb61f4ddca3931f9e4b927412306e12a10c84dc4 /third_party/lieer/api_client.patch
parenta260eba3cf478c99dcfd92b821934b40ed905894 (diff)
feat(third_party/lieer): Overwrite included client secret r/294
Diffstat (limited to 'third_party/lieer/api_client.patch')
-rw-r--r--third_party/lieer/api_client.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/lieer/api_client.patch b/third_party/lieer/api_client.patch
new file mode 100644
index 000000000000..595af087f119
--- /dev/null
+++ b/third_party/lieer/api_client.patch
@@ -0,0 +1,20 @@
+diff --git a/lieer/remote.py b/lieer/remote.py
+index 6e3973a..62728f7 100644
+--- a/lieer/remote.py
++++ b/lieer/remote.py
+@@ -25,12 +25,12 @@ class Remote:
+   # * https://stackoverflow.com/questions/19615372/client-secret-in-oauth-2-0?rq=1
+   #
+   OAUTH2_CLIENT_SECRET = {
+-        "client_id":"753933720722-ju82fu305lii0v9rdo6mf9hj40l5juv0.apps.googleusercontent.com",
+-        "project_id":"capable-pixel-160614",
++        "client_id":"945192553054-84bml3hfvv0floml1natqc4cribs0tmt.apps.googleusercontent.com",
++        "project_id":"tazjins-lieer-project",
+         "auth_uri":"https://accounts.google.com/o/oauth2/auth",
+         "token_uri":"https://accounts.google.com/o/oauth2/token",
+         "auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs",
+-        "client_secret":"8oudEG0Tvb7YI2V0ykp2Pzz9",
++        "client_secret":"${CLIENT_SECRET}",
+         "redirect_uris":["urn:ietf:wg:oauth:2.0:oob", "http://localhost"]
+     }
+