Commit 6b33afd7 authored by Rafael Masoni's avatar Rafael Masoni
Browse files

Now it's possible to test Twitter Authentication locally

parent 43ddffa3
......@@ -3,4 +3,8 @@ Rails.application.config.middleware.use OmniAuth::Builder do
provider :twitter, 'OtgUJ38USbc3PnbRH1i9DA', 'sZGgzbqX3xPhzoVru6uzpIvrBwIRIQbrHVDG5CXrm8'
OmniAuth.config.full_host = ""
if ENV['RAILS_ENV'] == "production"
OmniAuth.config.full_host = ""
OmniAuth.config.full_host = "http://localhost:3000"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment