in my view I have:
<%= link_to "Sign in with Facebook", user_omniauth_authorize_path(:facebook) %>
Which renders with the link: http://localhost:3000/users/auth/facebook
Problem is when I click that link it loads directly to:
Started GET "/" for 127.0.0.1 at 2011-09-26 15:35:29 -0700
Processing by PagesController#landing_teaser as HTML
Rendered pages/landing_teaser.html.erb within layouts/unauthorized (7.1ms)
Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 1.0ms)
Here is my routes file:
match '/users/auth/facebook/callback' => 'authentications#create'
# Devise
devise_for :users, :controllers => {:registrations => "registrations"}
Any thoughts on why omniauth is failing?
Thanks