0

So I'm making an app using data from a google sheets by using the API. I uploaded it to GitHub and I got an email that said this. How am I meant to upload it so the users can have the working app?

Right now its been uploaded in a .JSON file

Gamer On
  • 1
  • 1
  • Did I get you right:: you included your Google credentials in the code on a public Github repo? – Klaus Gütter Jul 29 '23 at 13:46
  • Yes but I deleted and replaced it and everything – Gamer On Jul 29 '23 at 13:48
  • Unless you deleted the repo it's still in the git history. – Retired Ninja Jul 29 '23 at 14:25
  • Regenerate the client secrete in your project on google cloud console it will ensure the one you mistakenly uploaded will become invalid. Instruct your users how to create their own. – Linda Lawton - DaImTo Jul 29 '23 at 14:30
  • ive already gotten rid of the old private key and am using a new unleaked one, i need to find out how to make it not show up but usable by people who use the project on github – Gamer On Jul 29 '23 at 14:43
  • If you read my answer in [here](https://stackoverflow.com/a/28109307/1841839) you will understand why you **CANT** its against googles TOS to share your client id and secrete in an open source project. Teach your users how create their own. I have serval YouTube videos which explain how to create a client id. – Linda Lawton - DaImTo Jul 29 '23 at 15:03

0 Answers0