I have an app using google oauth for authentication.I have stored by google client id and secret in environment.ts of my Angular app. If I have to publish my code in GitHub, I dont want that info to be published and made public.Also,I dont want to add environment.ts on my .gitignore.
What are some accepted approaches in storing and checking in private credentials in GitHub for Angular projects? Is my approach to store my google client id and secret key in environment.ts a good solution?
UPDATES : ( list of suggestions im looking into )
- Create a local dev branch containing the credential and the master branch is for GitHub checkins.