I'm trying to use Omniauth to allow users to login to my Rails app using Facebook. Locally, omniauth automatically redirects the browser to Facebook for authentication using the following link:
<%= link_to "Sign in with Facebook", "/auth/facebook" %>
It redirects back as is expected (no callback error) and I am then able to log out.
The issue occurs when I try to upload my application to my server. For some reason Omniauth isn't kicking in and it doesn't do the redirect. Instead it just points the browser to a non-existant directory in my app (http://sharedchecklist.com/auth/facebook) and spits out this error:
Routing Error
No route matches "/auth/facebook"
I've done a lot of searching over the past few hours to try and figure out what the issue could be. I've made sure to changee the the site and canvas URLs to my app's address. It isn't an issue with callback.
It's almost like omniauth isn't there…</p>
Has anyone encountered this issue before? I'm fairly new to rails but I've been able to figure through any issues before which makes this one all the most frustrating.
If the url would help, here it is: http://sharedchecklist.com/
Thanks for any assistance you can offer.