File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,15 +32,13 @@ import oauth, util
3232const
3333 GoogleAuthorize = " https://accounts.google.com/o/oauth2/v2/auth"
3434 GoogleToken = " https://oauth2.googleapis.com/token"
35- # # Public desktop OAuth client metadata from the open-source
36- # # `@google/gemini-cli` (packages/core/src/code_assist/oauth2.ts);
37- # # not a secret. Split across string parts only so GitHub's push
38- # # protection does not match the (public) credential literally; keep
39- # # the pieces separate.
40- GoogleClientId = " 681255809395-" &
41- " oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com"
42- GoogleClientSecret = " GOCSPX-" &
43- " 4uHgMPm-1o7Sk-geV6Cu5clXFsxl"
35+ # # Desktop OAuth client metadata from the open-source
36+ # # `@google/gemini-cli` (packages/core/src/code_assist/oauth2.ts).
37+ # # Installed-application credential; per Google's OAuth docs the
38+ # # client secret is "obviously not treated as a secret" here:
39+ # # https://developers.google.com/identity/protocols/oauth2#installed
40+ GoogleClientId = " 681255809395-oo8ft2oprdrnp9e3aqf6av3hmdib135j.apps.googleusercontent.com"
41+ GoogleClientSecret = " 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"
4442 GoogleScope = " https://www.googleapis.com/auth/cloud-platform " &
4543 " https://www.googleapis.com/auth/userinfo.email " &
4644 " https://www.googleapis.com/auth/userinfo.profile"
You can’t perform that action at this time.
0 commit comments