Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove facebook auth until resolve issue

  • Loading branch information...
commit 9f1fe4be3a9dd02d04ce910048c59e1b89bc62b9 1 parent 7cc48ef
darrenrogan authored
View
28 Gemfile.lock
@@ -36,7 +36,6 @@ GEM
bson_ext (1.6.2)
bson (~> 1.6.2)
builder (3.0.0)
- coderay (1.0.6)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
@@ -53,6 +52,8 @@ GEM
erubis (2.7.0)
execjs (1.3.0)
multi_json (~> 1.0)
+ faraday (0.8.0)
+ multipart-post (~> 1.1)
geocoder (1.1.1)
hashie (1.2.0)
heroku (2.24.1)
@@ -61,6 +62,7 @@ GEM
rest-client (~> 1.6.1)
rubyzip
hike (1.2.1)
+ httpauth (0.1)
i18n (0.6.0)
journey (1.0.3)
jquery-rails (2.0.2)
@@ -84,7 +86,6 @@ GEM
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
- method_source (0.7.1)
mime-types (1.18)
mongo (1.6.2)
bson (~> 1.6.2)
@@ -93,27 +94,28 @@ GEM
mongo (~> 1.3)
tzinfo (~> 0.3.22)
multi_json (1.2.0)
+ multipart-post (1.1.5)
netrc (0.7.1)
oauth (0.4.6)
+ oauth2 (0.6.0)
+ faraday (~> 0.7)
+ httpauth (~> 0.1)
+ multi_json (~> 1.0)
omniauth (1.1.0)
hashie (~> 1.2)
rack
+ omniauth-facebook (1.3.0)
+ omniauth-oauth2 (~> 1.0.2)
omniauth-oauth (1.0.1)
oauth
omniauth (~> 1.0)
+ omniauth-oauth2 (1.0.2)
+ oauth2 (~> 0.6.0)
+ omniauth (~> 1.0)
omniauth-twitter (0.0.9)
omniauth-oauth (~> 1.0)
orm_adapter (0.0.7)
polyglot (0.3.3)
- pry (0.9.8.4)
- coderay (~> 1.0.5)
- method_source (~> 0.7.1)
- slop (>= 2.4.4, < 3)
- pry (0.9.8.4-x86-mingw32)
- coderay (~> 1.0.5)
- method_source (~> 0.7.1)
- slop (>= 2.4.4, < 3)
- win32console (~> 1.3)
rack (1.4.1)
rack-cache (1.2)
rack (>= 0.4)
@@ -147,7 +149,6 @@ GEM
railties (~> 3.2.0)
sass (>= 3.1.10)
tilt (~> 1.3)
- slop (2.4.4)
sprockets (2.1.2)
hike (~> 1.2)
rack (~> 1.0)
@@ -169,7 +170,6 @@ GEM
multi_json (>= 1.0.2)
warden (1.1.1)
rack (>= 1.0)
- win32console (1.3.1-x86-mingw32)
PLATFORMS
ruby
@@ -185,8 +185,8 @@ DEPENDENCIES
kaminari
mongoid
omniauth
+ omniauth-facebook
omniauth-twitter
- pry
rails (= 3.2.2)
sass-rails (~> 3.2.3)
therubyracer
View
5 app/views/authentications/index.html.erb
@@ -24,10 +24,7 @@
<%= image_tag "twitter_64.png", :size => "64x64", :alt => "Twitter" %>
Twitter
</a>
-<a href="/auth/facebook" class="auth_provider">
- <%= image_tag "facebook_64.png", :size => "64x64", :alt => "Facebook" %>
- Facebook
-</a>
+
<div class="clear"></div>
<br/>
View
2  config/initializers/omniauth.rb
@@ -1,7 +1,7 @@
Rails.application.config.middleware.use OmniAuth::Builder do
# provider :twitter, 'rpHkeLKfEp6k8kHN6kqjg', 'wHiqdiCqHDO8mXiRWTfXddscgN1N2TlPS9J7HZJNPTc'
provider :twitter, ENV['TWITTER_KEY'],ENV['TWITTER_SECRET']
- #provider :facebook, ENV['FACEBOOK_KEY'],ENV['FACEBOOK_SECRET']
+ provider :facebook, ENV['FACEBOOK_KEY'],ENV['FACEBOOK_SECRET']
#provider :google, ENV['GOOGLE_KEY'],ENV['GOOGLE_SECRET']
end
Please sign in to comment.
Something went wrong with that request. Please try again.