diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2021-03-03 13:02:48 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2021-03-03 13:13:17 +0100 |
commit | dc9f2c5e70222889658d5cb126f9d89689c4e28b (patch) | |
tree | 23b3b559b626d69ee2ddf4c59289fe8fe63b9683 /pkgs/applications/networking/browsers/chromium/common.nix | |
parent | f209432103b502099a52b6d4f809c7328e739f78 (diff) | |
download | nixpkgs-dc9f2c5e70222889658d5cb126f9d89689c4e28b.tar nixpkgs-dc9f2c5e70222889658d5cb126f9d89689c4e28b.tar.gz nixpkgs-dc9f2c5e70222889658d5cb126f9d89689c4e28b.tar.bz2 nixpkgs-dc9f2c5e70222889658d5cb126f9d89689c4e28b.tar.lz nixpkgs-dc9f2c5e70222889658d5cb126f9d89689c4e28b.tar.xz nixpkgs-dc9f2c5e70222889658d5cb126f9d89689c4e28b.tar.zst nixpkgs-dc9f2c5e70222889658d5cb126f9d89689c4e28b.zip |
chromium: Remove google_default_client_{id,secret}
Reason: Google is limiting access to their private Chrome APIs starting on March 15, 2021 [0]. Closes #110245. From the mailing list thread [1]: "The changes we announced affect the OAuth 2.0 client id and secret which are used for signing into Chrome, not the API key." "To avoid using that API, it's sufficient to either not set the OAuth 2.0 credentials, or disabling the Google signin integration" (e.g. by passing the flag --allow-browser-signin=false) [0]: https://blog.chromium.org/2021/01/limiting-private-api-availability-in.html [1]: https://groups.google.com/a/chromium.org/g/chromium-packagers/c/SG6jnsP4pWM/
Diffstat (limited to 'pkgs/applications/networking/browsers/chromium/common.nix')
-rw-r--r-- | pkgs/applications/networking/browsers/chromium/common.nix | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index d93fc5ceb40..6c77ed3d181 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -250,13 +250,10 @@ let symbol_level = 0; fieldtrial_testing_like_official_build = true; - # Google API keys, see: - # http://www.chromium.org/developers/how-tos/api-keys - # Note: These are for NixOS/nixpkgs use ONLY. For your own distribution, - # please get your own set of keys. + # Google API key, see: https://www.chromium.org/developers/how-tos/api-keys + # Note: The API key is for NixOS/nixpkgs use ONLY. + # For your own distribution, please get your own set of keys. google_api_key = "AIzaSyDGi15Zwl11UNe6Y-5XW_upsfyw31qwZPI"; - google_default_client_id = "404761575300.apps.googleusercontent.com"; - google_default_client_secret = "9rIFQjfnkykEmqb6FfjJQD1D"; } // optionalAttrs proprietaryCodecs { # enable support for the H.264 codec proprietary_codecs = true; |