Skip to content

Commit

Permalink
chore: Obfuscated Firebase API key [PT-187643494]
Browse files Browse the repository at this point in the history
Obfuscated Firebase API key using atob() so that automated key leak detectors are not falsely triggered.

NOTE: the Firebase API key is a public key so this does not leak secrets.
  • Loading branch information
dougmartin committed May 28, 2024
1 parent dc67974 commit 2d7edee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CollaborationService/js/CollaborationService.js
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ var dispatcher = Object.create({ // jshint ignore:line

init: function () {
firebase.initializeApp({
apiKey: "AIzaSyBkHsVd9ZUNL0Uy6SbqbaOn8nwIvmlwW9M",
apiKey: atob("QUl6YVN5QmtIc1ZkOVpVTkwwVXk2U2JxYmFPbjhud0l2bWx3VzlN"),
authDomain: "codap-collaborations.firebaseapp.com",
databaseURL: "https://codap-collaborations.firebaseio.com",
storageBucket: "codap-collaborations.appspot.com",
Expand Down
2 changes: 1 addition & 1 deletion GoogleSheets/js/Everything.js
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ var dispatcher = Object.create({ // jshint ignore:line

init: function () {
firebase.initializeApp({
apiKey: "AIzaSyBkHsVd9ZUNL0Uy6SbqbaOn8nwIvmlwW9M",
apiKey: atob("QUl6YVN5QmtIc1ZkOVpVTkwwVXk2U2JxYmFPbjhud0l2bWx3VzlN"),
authDomain: "codap-collaborations.firebaseapp.com",
databaseURL: "https://codap-collaborations.firebaseio.com",
storageBucket: "codap-collaborations.appspot.com",
Expand Down

0 comments on commit 2d7edee

Please sign in to comment.