Closed DanielKehoe closed 11 years ago
:+1:
keys still exist in https://github.com/mokus80/learners_directory/blob/master/.env
git rm .env
gitignore
.env
file & everyone who checks out the code, needs to create it.These are the old keys, I generated new ones. However, you are right, I should remove this file.
The file config/initializers/omniauth.rb contains your GitHub access keys and is available in the public repo. That means someone can use your keys for their own purposes.
You can use environment variables instead. See my article: http://railsapps.github.io/rails-environment-variables.html or the "Configure" chapter of the "Learning Rails" book or an example application: https://github.com/RailsApps/rails3-mongoid-omniauth